	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_sdio_power_off
_ath6kl_sdio_power_off:                 ## @ath6kl_sdio_power_off
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_ath6kl_sdio_priv
	xorl	%ebx, %ebx
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	%rax, %r14
	movq	_ATH6KL_DBG_BOOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_ath6kl_dbg
	movl	4(%r14), %edi
	callq	_sdio_claim_host
	movl	4(%r14), %edi
	callq	_sdio_disable_func
	movl	%eax, %ebx
	movl	4(%r14), %edi
	callq	_sdio_release_host
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.2:
	movl	$1, (%r14)
	xorl	%ebx, %ebx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH6KL_DBG_BOOT,4,2            ## @ATH6KL_DBG_BOOT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sdio power off\n"

	.no_dead_strip	_ath6kl_sdio_power_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_sdio_power_off
_ath6kl_sdio_power_off:                 ; @ath6kl_sdio_power_off
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_ath6kl_sdio_priv
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_4
LBB0_2:
	mov	x19, x0
Lloh0:
	adrp	x8, _ATH6KL_DBG_BOOT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH6KL_DBG_BOOT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ath6kl_dbg
	ldr	w0, [x19, #4]
	bl	_sdio_claim_host
	ldr	w0, [x19, #4]
	bl	_sdio_disable_func
	mov	x20, x0
	ldr	w0, [x19, #4]
	bl	_sdio_release_host
	cbnz	w20, LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x19]
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH6KL_DBG_BOOT,4,2            ; @ATH6KL_DBG_BOOT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sdio power off\n"

	.no_dead_strip	_ath6kl_sdio_power_off
.subsections_via_symbols
