	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_clear_routing_entries
_ql_clear_routing_entries:              ## @ql_clear_routing_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_SEM_RT_IDX_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_ql_sem_spinlock
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_19
## %bb.1:
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.2:
	movq	%r15, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.3:
	movq	%r15, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.4:
	movq	%r15, %rdi
	movl	$3, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.5:
	movq	%r15, %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.6:
	movq	%r15, %rdi
	movl	$5, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.7:
	movq	%r15, %rdi
	movl	$6, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.8:
	movq	%r15, %rdi
	movl	$7, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.9:
	movq	%r15, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.10:
	movq	%r15, %rdi
	movl	$9, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.11:
	movq	%r15, %rdi
	movl	$10, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.12:
	movq	%r15, %rdi
	movl	$11, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.13:
	movq	%r15, %rdi
	movl	$12, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.14:
	movq	%r15, %rdi
	movl	$13, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movl	$14, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movq	%r15, %rdi
	movl	$15, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ql_set_routing_reg
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_18
LBB0_17:
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	callq	_netif_err
	movl	%r14d, %ebx
LBB0_18:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_ql_sem_unlock
LBB0_19:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEM_RT_IDX_MASK,4,2            ## @SEM_RT_IDX_MASK
	.comm	_ifup,4,2                       ## @ifup
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to init routing register for CAM packets.\n"

	.no_dead_strip	_ql_clear_routing_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_clear_routing_entries
_ql_clear_routing_entries:              ; @ql_clear_routing_entries
	.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, x0
Lloh0:
	adrp	x21, _SEM_RT_IDX_MASK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SEM_RT_IDX_MASK@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_ql_sem_spinlock
	mov	x20, x0
	cbnz	w0, LBB0_19
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.2:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.3:
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.4:
	mov	x0, x19
	mov	w1, #3
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.5:
	mov	x0, x19
	mov	w1, #4
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.6:
	mov	x0, x19
	mov	w1, #5
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.7:
	mov	x0, x19
	mov	w1, #6
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.8:
	mov	x0, x19
	mov	w1, #7
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.9:
	mov	x0, x19
	mov	w1, #8
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.10:
	mov	x0, x19
	mov	w1, #9
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.11:
	mov	x0, x19
	mov	w1, #10
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.12:
	mov	x0, x19
	mov	w1, #11
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.13:
	mov	x0, x19
	mov	w1, #12
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.14:
	mov	x0, x19
	mov	w1, #13
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.15:
	mov	x0, x19
	mov	w1, #14
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbnz	w0, LBB0_17
; %bb.16:
	mov	x0, x19
	mov	w1, #15
	mov	w2, #0
	mov	w3, #0
	bl	_ql_set_routing_reg
	mov	x20, x0
	cbz	w0, LBB0_18
LBB0_17:
Lloh2:
	adrp	x8, _ifup@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ifup@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x19]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netif_err
LBB0_18:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ql_sem_unlock
LBB0_19:
	mov	x0, x20
	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 AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SEM_RT_IDX_MASK,4,2            ; @SEM_RT_IDX_MASK
	.comm	_ifup,4,2                       ; @ifup
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to init routing register for CAM packets.\n"

	.no_dead_strip	_ql_clear_routing_entries
.subsections_via_symbols
