	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_omac_idx
_get_omac_idx:                          ## @get_omac_idx
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
                                        ## kill: def $edi killed $edi def $rdi
	leal	-129(%rdi), %eax
	cmpl	$2, %eax
	jae	LBB0_3
## %bb.1:
	notl	%r15d
	movq	_HW_BSSID_0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_BIT
	testl	%r15d, %eax
	je	LBB0_10
## %bb.2:
	movl	(%rbx), %r14d
	jmp	LBB0_9
LBB0_3:
	cmpl	$128, %edi
	jne	LBB0_8
## %bb.4:
	movq	_HW_BSSID_1@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_HW_BSSID_MAX@GOTPCREL(%rip), %r12
	movl	$-1, %r14d
	cmpl	(%r12), %ebx
	jge	LBB0_9
## %bb.5:
	notl	%r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_BIT
	testl	%r15d, %eax
	jne	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_6
	jmp	LBB0_9
LBB0_8:
	movl	$1, %edi
	callq	_WARN_ON
	movl	$-1, %r14d
	jmp	LBB0_9
LBB0_10:
	movq	_EXT_BSSID_1@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_EXT_BSSID_END@GOTPCREL(%rip), %r12
	movl	$-1, %r14d
	cmpl	(%r12), %ebx
	jge	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_BIT
	testl	%r15d, %eax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_11
	jmp	LBB0_9
LBB0_14:
	movl	%ebx, %r14d
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HW_BSSID_0,4,2                 ## @HW_BSSID_0
	.comm	_EXT_BSSID_1,4,2                ## @EXT_BSSID_1
	.comm	_EXT_BSSID_END,4,2              ## @EXT_BSSID_END
	.comm	_HW_BSSID_1,4,2                 ## @HW_BSSID_1
	.comm	_HW_BSSID_MAX,4,2               ## @HW_BSSID_MAX
	.no_dead_strip	_get_omac_idx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_omac_idx
_get_omac_idx:                          ; @get_omac_idx
	.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	x20, x1
	sub	w8, w0, #129
	cmp	w8, #2
	b.hs	LBB0_3
; %bb.1:
Lloh0:
	adrp	x19, _HW_BSSID_0@GOTPAGE
Lloh1:
	ldr	x19, [x19, _HW_BSSID_0@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_BIT
	bics	wzr, w0, w20
	b.eq	LBB0_9
; %bb.2:
	ldr	w19, [x19]
	b	LBB0_14
LBB0_3:
	cmp	w0, #128
	b.ne	LBB0_8
; %bb.4:
Lloh2:
	adrp	x8, _HW_BSSID_1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HW_BSSID_1@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
Lloh5:
	adrp	x21, _HW_BSSID_MAX@GOTPAGE
Lloh6:
	ldr	x21, [x21, _HW_BSSID_MAX@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w19, w8
	b.ge	LBB0_13
; %bb.5:
	mvn	w20, w20
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_BIT
	tst	w0, w20
	b.ne	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w19, w19, #1
	ldr	w8, [x21]
	cmp	w19, w8
	b.lt	LBB0_6
	b	LBB0_13
LBB0_8:
	mov	w0, #1
	bl	_WARN_ON
	b	LBB0_13
LBB0_9:
Lloh7:
	adrp	x8, _EXT_BSSID_1@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EXT_BSSID_1@GOTPAGEOFF]
Lloh9:
	ldr	w19, [x8]
Lloh10:
	adrp	x21, _EXT_BSSID_END@GOTPAGE
Lloh11:
	ldr	x21, [x21, _EXT_BSSID_END@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w19, w8
	b.ge	LBB0_13
; %bb.10:
	mvn	w20, w20
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_BIT
	tst	w0, w20
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	w19, w19, #1
	ldr	w8, [x21]
	cmp	w19, w8
	b.lt	LBB0_11
LBB0_13:
	mov	w19, #-1
LBB0_14:
	mov	x0, 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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_HW_BSSID_0,4,2                 ; @HW_BSSID_0
	.comm	_EXT_BSSID_1,4,2                ; @EXT_BSSID_1
	.comm	_EXT_BSSID_END,4,2              ; @EXT_BSSID_END
	.comm	_HW_BSSID_1,4,2                 ; @HW_BSSID_1
	.comm	_HW_BSSID_MAX,4,2               ; @HW_BSSID_MAX
	.no_dead_strip	_get_omac_idx
.subsections_via_symbols
