	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_sdiod_recv_pkt           ## -- Begin function brcmf_sdiod_recv_pkt
	.p2align	4, 0x90
_brcmf_sdiod_recv_pkt:                  ## @brcmf_sdiod_recv_pkt
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movl	(%rax), %ebx
	movq	_SDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rsi), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_brcmf_dbg
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_brcmf_sdiod_set_backplane_window
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	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), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_brcmf_sdiod_skbuff_read        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDIO,4,2                       ## @SDIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"addr = 0x%x, size = %d\n"

	.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_recv_pkt           ; -- Begin function brcmf_sdiod_recv_pkt
	.p2align	2
_brcmf_sdiod_recv_pkt:                  ; @brcmf_sdiod_recv_pkt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	w21, [x8]
Lloh0:
	adrp	x8, _SDIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDIO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w3, [x1]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_brcmf_dbg
	mov	x0, x20
	mov	x1, x21
	bl	_brcmf_sdiod_set_backplane_window
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh5:
	adrp	x8, _SBSDIO_SB_OFT_ADDR_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SBSDIO_SB_OFT_ADDR_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w8, w8, w21
Lloh8:
	adrp	x9, _SBSDIO_SB_ACCESS_2_4B_FLAG@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SBSDIO_SB_ACCESS_2_4B_FLAG@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldr	w1, [x20]
	mov	x0, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_brcmf_sdiod_skbuff_read
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SDIO,4,2                       ; @SDIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"addr = 0x%x, size = %d\n"

	.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
