	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_get_ifp                  ## -- Begin function brcmf_get_ifp
	.p2align	4, 0x90
_brcmf_get_ifp:                         ## @brcmf_get_ifp
	.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, %edx
	testl	%esi, %esi
	js	LBB0_2
## %bb.1:
	movq	_BRCMF_MAX_IFS@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jle	LBB0_2
## %bb.3:
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movl	%edx, %edx
	movq	(%rax,%rdx,8), %rax
	movq	(%rcx,%rax,8), %rax
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rsi
	callq	_bphy_err
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMF_MAX_IFS,4,2              ## @BRCMF_MAX_IFS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ifidx %d out of range\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_get_ifp                  ; -- Begin function brcmf_get_ifp
	.p2align	2
_brcmf_get_ifp:                         ; @brcmf_get_ifp
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x2, x1
	tbnz	w1, #31, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _BRCMF_MAX_IFS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BRCMF_MAX_IFS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.le	LBB0_3
; %bb.2:
	ldp	x9, x8, [x0]
	ldr	x9, [x9, w2, uxtw #3]
	ldr	x0, [x8, x9, lsl #3]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_bphy_err
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMF_MAX_IFS,4,2              ; @BRCMF_MAX_IFS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ifidx %d out of range\n"

.subsections_via_symbols
