	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_get_cam_entries
_ql_get_cam_entries:                    ## @ql_get_cam_entries
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SEM_MAC_ADDR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ql_sem_spinlock
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MAC_ADDR_TYPE_CAM_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	movq	%r13, %rcx
	callq	_ql_get_mac_addr_reg
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movaps	-80(%rbp), %xmm0
	movups	%xmm0, (%r12)
	movq	-64(%rbp), %rax
	movq	%rax, 16(%r12)
	addq	$24, %r12
	incl	%ebx
	cmpl	$16, %ebx
	jne	LBB0_2
## %bb.5:
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MAC_ADDR_TYPE_MULTI_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	movq	%r13, %rcx
	callq	_ql_get_mac_addr_reg
	testl	%eax, %eax
	jne	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movaps	-80(%rbp), %xmm0
	movups	%xmm0, (%r12)
	addq	$16, %r12
	incl	%ebx
	cmpl	$32, %ebx
	jne	LBB0_6
## %bb.8:
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_3:
	movl	%eax, %r15d
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_netif_err
LBB0_9:
	movq	_SEM_MAC_ADDR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ql_sem_unlock
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SEM_MAC_ADDR_MASK,4,2          ## @SEM_MAC_ADDR_MASK
	.comm	_MAC_ADDR_TYPE_CAM_MAC,4,2      ## @MAC_ADDR_TYPE_CAM_MAC
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed read of mac index register.\n"

	.comm	_MAC_ADDR_TYPE_MULTI_MAC,4,2    ## @MAC_ADDR_TYPE_MULTI_MAC
	.no_dead_strip	_ql_get_cam_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_get_cam_entries
_ql_get_cam_entries:                    ; @ql_get_cam_entries
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x23, _SEM_MAC_ADDR_MASK@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SEM_MAC_ADDR_MASK@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_ql_sem_spinlock
	mov	x20, x0
	cbnz	w0, LBB0_10
; %bb.1:
	mov	w22, #0
Lloh5:
	adrp	x25, _MAC_ADDR_TYPE_CAM_MAC@GOTPAGE
Lloh6:
	ldr	x25, [x25, _MAC_ADDR_TYPE_CAM_MAC@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	mov	x3, sp
	mov	x0, x19
	mov	x2, x22
	bl	_ql_get_mac_addr_reg
	cbnz	w0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	q0, [sp]
	str	q0, [x21]
	ldr	x8, [sp, #16]
	add	x24, x21, #24
	str	x8, [x21, #16]
	add	w22, w22, #1
	mov	x21, x24
	cmp	w22, #16
	b.ne	LBB0_2
; %bb.4:
	mov	w21, #0
Lloh7:
	adrp	x22, _MAC_ADDR_TYPE_MULTI_MAC@GOTPAGE
Lloh8:
	ldr	x22, [x22, _MAC_ADDR_TYPE_MULTI_MAC@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x3, sp
	mov	x0, x19
	mov	x2, x21
	bl	_ql_get_mac_addr_reg
	cbnz	w0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	x8, x9, [sp]
	stp	x8, x9, [x24], #16
	add	w21, w21, #1
	cmp	w21, #32
	b.ne	LBB0_5
; %bb.7:
	mov	w20, #0
	b	LBB0_9
LBB0_8:
	mov	x20, x0
Lloh9:
	adrp	x8, _drv@GOTPAGE
Lloh10:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x19]
Lloh12:
	adrp	x3, l_.str@PAGE
Lloh13:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netif_err
LBB0_9:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_ql_sem_unlock
LBB0_10:
	ldr	x8, [sp, #24]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SEM_MAC_ADDR_MASK,4,2          ; @SEM_MAC_ADDR_MASK
	.comm	_MAC_ADDR_TYPE_CAM_MAC,4,2      ; @MAC_ADDR_TYPE_CAM_MAC
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed read of mac index register.\n"

	.comm	_MAC_ADDR_TYPE_MULTI_MAC,4,2    ; @MAC_ADDR_TYPE_MULTI_MAC
	.no_dead_strip	_ql_get_cam_entries
.subsections_via_symbols
