	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fib6_rule_match
_fib6_rule_match:                       ## @fib6_rule_match
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	leaq	8(%r14), %rdi
	leaq	32(%rbx), %rsi
	callq	_ipv6_prefix_equal
	testl	%eax, %eax
	je	LBB0_6
LBB0_2:
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.3:
	movq	_RT6_LOOKUP_F_HAS_SADDR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_7
## %bb.4:
	leaq	4(%r14), %rdi
	leaq	16(%rbx), %rsi
	callq	_ipv6_prefix_equal
	testl	%eax, %eax
	je	LBB0_6
LBB0_8:
	movl	(%rbx), %ebx
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.9:
	movl	(%r14), %edi
	callq	_ntohl
	shrl	$20, %eax
	movzbl	%al, %ecx
	xorl	%eax, %eax
	cmpl	%ecx, %ebx
	jne	LBB0_11
LBB0_10:
	movl	$1, %eax
	jmp	LBB0_11
LBB0_7:
	movq	_FIB_RULE_FIND_SADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	jne	LBB0_8
LBB0_6:
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RT6_LOOKUP_F_HAS_SADDR,4,2     ## @RT6_LOOKUP_F_HAS_SADDR
	.comm	_FIB_RULE_FIND_SADDR,4,2        ## @FIB_RULE_FIND_SADDR
	.no_dead_strip	_fib6_rule_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fib6_rule_match
_fib6_rule_match:                       ; @fib6_rule_match
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x2, [x0, #24]
	cbz	x2, LBB0_2
; %bb.1:
	add	x0, x19, #8
	add	x1, x20, #32
	bl	_ipv6_prefix_equal
	cbz	w0, LBB0_10
LBB0_2:
	ldr	x2, [x20, #8]
	cbz	x2, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _RT6_LOOKUP_F_HAS_SADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RT6_LOOKUP_F_HAS_SADDR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_5
; %bb.4:
	add	x0, x19, #4
	add	x1, x20, #16
	bl	_ipv6_prefix_equal
	cbnz	w0, LBB0_6
	b	LBB0_10
LBB0_5:
	ldr	w8, [x20, #4]
Lloh3:
	adrp	x9, _FIB_RULE_FIND_SADDR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FIB_RULE_FIND_SADDR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
LBB0_6:
	ldr	w20, [x20]
	cbz	w20, LBB0_8
; %bb.7:
	ldr	w0, [x19]
	bl	_ntohl
	lsr	w8, w0, #20
	cmp	w20, w8, uxtb
	b.ne	LBB0_9
LBB0_8:
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RT6_LOOKUP_F_HAS_SADDR,4,2     ; @RT6_LOOKUP_F_HAS_SADDR
	.comm	_FIB_RULE_FIND_SADDR,4,2        ; @FIB_RULE_FIND_SADDR
	.no_dead_strip	_fib6_rule_match
.subsections_via_symbols
