	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_sdiod_readl              ## -- Begin function brcmf_sdiod_readl
	.p2align	4, 0x90
_brcmf_sdiod_readl:                     ## @brcmf_sdiod_readl
	.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
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_brcmf_sdiod_set_backplane_window
	movl	%eax, %ecx
	movl	%eax, -28(%rbp)
	xorl	%eax, %eax
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.2:
	testq	%r14, %r14
	je	LBB0_4
LBB0_3:
	movl	-28(%rbp), %ecx
	movl	%ecx, (%r14)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_SBSDIO_SB_OFT_ADDR_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_SBSDIO_SB_ACCESS_2_4B_FLAG@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r15), %edi
	leaq	-28(%rbp), %rdx
	movl	%ebx, %esi
	callq	_sdio_readl
	testq	%r14, %r14
	jne	LBB0_3
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_SBSDIO_SB_OFT_ADDR_MASK,4,2    ## @SBSDIO_SB_OFT_ADDR_MASK
	.comm	_SBSDIO_SB_ACCESS_2_4B_FLAG,4,2 ## @SBSDIO_SB_ACCESS_2_4B_FLAG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_sdiod_readl              ; -- Begin function brcmf_sdiod_readl
	.p2align	2
_brcmf_sdiod_readl:                     ; @brcmf_sdiod_readl
	.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	x21, x1
	mov	x20, x0
	bl	_brcmf_sdiod_set_backplane_window
	str	w0, [sp, #12]
	cbz	w0, LBB0_4
; %bb.1:
	mov	w0, #0
	cbz	x19, LBB0_3
LBB0_2:
	ldr	w8, [sp, #12]
	str	w8, [x19]
LBB0_3:
	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
LBB0_4:
Lloh0:
	adrp	x8, _SBSDIO_SB_OFT_ADDR_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SBSDIO_SB_OFT_ADDR_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w21
Lloh3:
	adrp	x9, _SBSDIO_SB_ACCESS_2_4B_FLAG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SBSDIO_SB_ACCESS_2_4B_FLAG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w8, w9
	ldr	w0, [x20]
	add	x2, sp, #12
	bl	_sdio_readl
	cbnz	x19, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SBSDIO_SB_OFT_ADDR_MASK,4,2    ; @SBSDIO_SB_OFT_ADDR_MASK
	.comm	_SBSDIO_SB_ACCESS_2_4B_FLAG,4,2 ; @SBSDIO_SB_ACCESS_2_4B_FLAG
.subsections_via_symbols
