	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function renesas_sdhi_write16_hook
_renesas_sdhi_write16_hook:             ## @renesas_sdhi_write16_hook
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	_TMIO_STAT_SCLKDIVEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leal	-128(%rax), %ecx
	cmpl	$7, %ecx
	jae	LBB0_1
LBB0_3:
	movq	(%rdi), %rax
	movq	_TMIO_MMC_HAVE_CBSY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_TMIO_STAT_CMD_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_5
LBB0_1:
	cmpl	$135, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$136, %eax
	je	LBB0_3
## %bb.6:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	popq	%rbp
	jmp	_renesas_sdhi_wait_idle         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TMIO_STAT_SCLKDIVEN,4,2        ## @TMIO_STAT_SCLKDIVEN
	.comm	_TMIO_MMC_HAVE_CBSY,4,2         ## @TMIO_MMC_HAVE_CBSY
	.comm	_TMIO_STAT_CMD_BUSY,4,2         ## @TMIO_STAT_CMD_BUSY
	.no_dead_strip	_renesas_sdhi_write16_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function renesas_sdhi_write16_hook
_renesas_sdhi_write16_hook:             ; @renesas_sdhi_write16_hook
	.cfi_startproc
; %bb.0:
	mov	x8, x1
Lloh0:
	adrp	x9, _TMIO_STAT_SCLKDIVEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TMIO_STAT_SCLKDIVEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	sub	w9, w8, #128
	cmp	w9, #7
	b.hs	LBB0_3
LBB0_1:
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TMIO_MMC_HAVE_CBSY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TMIO_MMC_HAVE_CBSY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _TMIO_STAT_CMD_BUSY@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TMIO_STAT_CMD_BUSY@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w1, w1, w10, eq
LBB0_2:
	b	_renesas_sdhi_wait_idle
LBB0_3:
	cmp	w8, #135
	b.eq	LBB0_2
; %bb.4:
	cmp	w8, #136
	b.eq	LBB0_1
; %bb.5:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TMIO_STAT_SCLKDIVEN,4,2        ; @TMIO_STAT_SCLKDIVEN
	.comm	_TMIO_MMC_HAVE_CBSY,4,2         ; @TMIO_MMC_HAVE_CBSY
	.comm	_TMIO_STAT_CMD_BUSY,4,2         ; @TMIO_STAT_CMD_BUSY
	.no_dead_strip	_renesas_sdhi_write16_hook
.subsections_via_symbols
