	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_sdio_func0_cmd52_wr_byte
_ath6kl_sdio_func0_cmd52_wr_byte:       ## @ath6kl_sdio_func0_cmd52_wr_byte
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r15
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	leaq	-40(%rbp), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	movl	%r12d, %r8d
	callq	_ath6kl_sdio_set_cmd52_arg
	movq	_SD_IO_RW_DIRECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_MMC_RSP_R5@GOTPCREL(%rip), %rax
	movq	_MMC_CMD_AC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -48(%rbp)
	movl	(%r15), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_mmc_wait_for_cmd
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SD_IO_RW_DIRECT,4,2            ## @SD_IO_RW_DIRECT
	.comm	_MMC_RSP_R5,4,2                 ## @MMC_RSP_R5
	.comm	_MMC_CMD_AC,4,2                 ## @MMC_CMD_AC
	.no_dead_strip	_ath6kl_sdio_func0_cmd52_wr_byte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_sdio_func0_cmd52_wr_byte
_ath6kl_sdio_func0_cmd52_wr_byte:       ; @ath6kl_sdio_func0_cmd52_wr_byte
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x22, sp
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	add	x0, x22, #8
	mov	w1, #1
	mov	w2, #0
	mov	x3, x20
	mov	x4, x19
	bl	_ath6kl_sdio_set_cmd52_arg
Lloh0:
	adrp	x8, _SD_IO_RW_DIRECT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SD_IO_RW_DIRECT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MMC_RSP_R5@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MMC_RSP_R5@GOTPAGEOFF]
Lloh5:
	adrp	x10, _MMC_CMD_AC@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MMC_CMD_AC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	stp	w9, w8, [sp]
	ldr	w0, [x21]
	mov	x1, sp
	mov	w2, #0
	bl	_mmc_wait_for_cmd
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SD_IO_RW_DIRECT,4,2            ; @SD_IO_RW_DIRECT
	.comm	_MMC_RSP_R5,4,2                 ; @MMC_RSP_R5
	.comm	_MMC_CMD_AC,4,2                 ; @MMC_CMD_AC
	.no_dead_strip	_ath6kl_sdio_func0_cmd52_wr_byte
.subsections_via_symbols
