	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_iproc_readw
_sdhci_iproc_readw:                     ## @sdhci_iproc_readw
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_sdhci_priv
	movq	%rax, %rdi
	callq	_sdhci_pltfm_priv
	movq	_SDHCI_TRANSFER_MODE@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 16(%rax)
	je	LBB0_3
## %bb.2:
	movl	(%rax), %ebx
	jmp	LBB0_8
LBB0_3:
	movq	_SDHCI_BLOCK_SIZE@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_SDHCI_BLOCK_COUNT@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jne	LBB0_7
LBB0_5:
	cmpq	$0, 8(%rax)
	je	LBB0_7
## %bb.6:
	movl	4(%rax), %ebx
	jmp	LBB0_8
LBB0_7:
	movl	%r15d, %esi
	andl	$-4, %esi
	movq	%r14, %rdi
	callq	_sdhci_iproc_readl
	movl	%eax, %ebx
LBB0_8:
	movl	%r15d, %edi
	callq	_REG_OFFSET_IN_BITS
	movl	%eax, %ecx
	sarl	%cl, %ebx
	movzwl	%bx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_TRANSFER_MODE,4,2        ## @SDHCI_TRANSFER_MODE
	.comm	_SDHCI_BLOCK_SIZE,4,2           ## @SDHCI_BLOCK_SIZE
	.comm	_SDHCI_BLOCK_COUNT,4,2          ## @SDHCI_BLOCK_COUNT
	.no_dead_strip	_sdhci_iproc_readw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_iproc_readw
_sdhci_iproc_readw:                     ; @sdhci_iproc_readw
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_sdhci_priv
	bl	_sdhci_pltfm_priv
Lloh0:
	adrp	x8, _SDHCI_TRANSFER_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDHCI_TRANSFER_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w20, [x0]
	b	LBB0_7
LBB0_3:
Lloh3:
	adrp	x8, _SDHCI_BLOCK_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SDHCI_BLOCK_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SDHCI_BLOCK_COUNT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SDHCI_BLOCK_COUNT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, ne
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w20, [x0, #4]
	b	LBB0_7
LBB0_6:
	and	w1, w19, #0xfffffffc
	mov	x0, x20
	bl	_sdhci_iproc_readl
	mov	x20, x0
LBB0_7:
	mov	x0, x19
	bl	_REG_OFFSET_IN_BITS
	asr	w8, w20, w0
	and	w0, w8, #0xffff
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_TRANSFER_MODE,4,2        ; @SDHCI_TRANSFER_MODE
	.comm	_SDHCI_BLOCK_SIZE,4,2           ; @SDHCI_BLOCK_SIZE
	.comm	_SDHCI_BLOCK_COUNT,4,2          ; @SDHCI_BLOCK_COUNT
	.no_dead_strip	_sdhci_iproc_readw
.subsections_via_symbols
