	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_mci_remote_reset
_ar9003_mci_remote_reset:               ## @ar9003_mci_remote_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	movl	%esi, %r9d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movaps	L___const.ar9003_mci_remote_reset.payload(%rip), %xmm0
	movaps	%xmm0, -32(%rbp)
	movq	_MCI_REMOTE_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	leaq	-32(%rbp), %rcx
	xorl	%edx, %edx
	movl	$16, %r8d
	callq	_ar9003_mci_send_message
	movl	$5, %edi
	callq	_udelay
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$48, %rsp
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.ar9003_mci_remote_reset.payload
L___const.ar9003_mci_remote_reset.payload:
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967040                      ## 0xffffff00

	.comm	_MCI_REMOTE_RESET,4,2           ## @MCI_REMOTE_RESET
	.no_dead_strip	_ar9003_mci_remote_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9003_mci_remote_reset
_ar9003_mci_remote_reset:               ; @ar9003_mci_remote_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x5, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	adrp	x9, l___const.ar9003_mci_remote_reset.payload@PAGE
	add	x9, x9, l___const.ar9003_mci_remote_reset.payload@PAGEOFF
	stur	x8, [x29, #-8]
	ldr	q0, [x9]
	str	q0, [sp]
Lloh3:
	adrp	x8, _MCI_REMOTE_RESET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MCI_REMOTE_RESET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x3, sp
	mov	w2, #0
	mov	w4, #16
	mov	w6, #0
	bl	_ar9003_mci_send_message
	mov	w0, #5
	bl	_udelay
	ldur	x8, [x29, #-8]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.ar9003_mci_remote_reset.payload
l___const.ar9003_mci_remote_reset.payload:
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	4294967040                      ; 0xffffff00

	.comm	_MCI_REMOTE_RESET,4,2           ; @MCI_REMOTE_RESET
	.no_dead_strip	_ar9003_mci_remote_reset
.subsections_via_symbols
