	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_get_first_free_bsscfgidx
_brcmf_get_first_free_bsscfgidx:        ## @brcmf_get_first_free_bsscfgidx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_BRCMF_MAX_IFS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	cmpq	%rax, %rcx
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$1, %rax
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rdi), %rdx
	cmpl	$0, (%rdx,%rax,4)
	jne	LBB0_2
## %bb.5:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMF_MAX_IFS,4,2              ## @BRCMF_MAX_IFS
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_brcmf_get_first_free_bsscfgidx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_get_first_free_bsscfgidx
_brcmf_get_first_free_bsscfgidx:        ; @brcmf_get_first_free_bsscfgidx
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _BRCMF_MAX_IFS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BRCMF_MAX_IFS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x8, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	cmp	x9, x8
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x8, #1
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x0]
	ldr	w10, [x10, x8, lsl #2]
	cbnz	w10, LBB0_2
; %bb.5:
	mov	x0, x8
	ret
LBB0_6:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w8, w8
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMF_MAX_IFS,4,2              ; @BRCMF_MAX_IFS
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_brcmf_get_first_free_bsscfgidx
.subsections_via_symbols
