	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function in_lltable_rtcheck
_in_lltable_rtcheck:                    ## @in_lltable_rtcheck
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rdi, %r15
	movq	(%rdx), %rsi
	movq	_AF_INET@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rsi
	sete	%dil
	callq	_KASSERT
	leaq	-152(%rbp), %rdi
	movl	$56, %esi
	callq	_bzero
	movl	$56, -144(%rbp)
	leaq	-264(%rbp), %r13
	movq	%r13, %rdi
	movl	$56, %esi
	callq	_bzero
	movl	$56, -256(%rbp)
	leaq	-208(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$56, %esi
	callq	_bzero
	movl	$56, -196(%rbp)
	leaq	-96(%rbp), %r14
	movq	%r14, %rdi
	movl	$56, %esi
	callq	_bzero
	movq	-48(%rbp), %rax
	movq	_RTAX_DST@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	-152(%rbp), %rdx
	movq	%rdx, (%rax,%rcx,8)
	movq	-48(%rbp), %rax
	movq	_RTAX_NETMASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r13, (%rax,%rcx,8)
	movq	-48(%rbp), %rax
	movq	_RTAX_GATEWAY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rbx, (%rax,%rcx,8)
	movl	12(%r15), %edi
	movq	_NHR_REF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_rib_lookup_info
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movl	-80(%rbp), %ebx
	movq	_RTF_GATEWAY@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.3:
	movq	_RTF_HOST@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.4:
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	(%rax), %rcx
	movq	_IFT_ETHER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.6:
	movq	_IFF_NOARP@GOTPCREL(%rip), %rcx
	movq	_IFF_STATICARP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%edx, 8(%rax)
	jne	LBB0_8
## %bb.7:
	movl	-168(%rbp), %edi
	movl	40(%r12), %esi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:
	leaq	-96(%rbp), %rdi
	callq	_rib_free_info
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_16:
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	-96(%rbp), %rdi
	callq	_rib_free_info
	movq	_RTF_HOST@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	testl	%ebx, (%rcx)
	jne	LBB0_16
## %bb.10:
	cmpq	%r15, -64(%rbp)
	je	LBB0_16
## %bb.11:
	movq	_RTA_NETMASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, -76(%rbp)
	je	LBB0_1
## %bb.12:
	movslq	8(%r12), %rcx
	leaq	(%r12,%rcx), %rdx
	cmpq	%r12, %rdx
	jbe	LBB0_16
## %bb.13:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12,%rdx), %eax
	xorb	-152(%rbp,%rdx), %al
	testb	%al, -264(%rbp,%rdx)
	jne	LBB0_1
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	incq	%rdx
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	jne	LBB0_14
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_RTAX_DST,8,3                   ## @RTAX_DST
	.comm	_RTAX_NETMASK,8,3               ## @RTAX_NETMASK
	.comm	_RTAX_GATEWAY,8,3               ## @RTAX_GATEWAY
	.comm	_NHR_REF,4,2                    ## @NHR_REF
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RTF_GATEWAY,4,2                ## @RTF_GATEWAY
	.comm	_RTF_HOST,4,2                   ## @RTF_HOST
	.comm	_IFT_ETHER,8,3                  ## @IFT_ETHER
	.comm	_IFF_NOARP,4,2                  ## @IFF_NOARP
	.comm	_IFF_STATICARP,4,2              ## @IFF_STATICARP
	.comm	_RTA_NETMASK,4,2                ## @RTA_NETMASK
	.comm	_INET_ADDRSTRLEN,4,2            ## @INET_ADDRSTRLEN
	.comm	_LOG_INFO,4,2                   ## @LOG_INFO
	.no_dead_strip	_in_lltable_rtcheck
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function in_lltable_rtcheck
_in_lltable_rtcheck:                    ; @in_lltable_rtcheck
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x28, x27, [sp, #224]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #240]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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 w27, -72
	.cfi_offset w28, -80
	mov	x19, x2
	mov	x20, x0
	ldr	x1, [x2]
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	cset	w0, eq
	bl	_KASSERT
	add	x21, sp, #112
	mov	w22, #56
	add	x0, sp, #112
	mov	w1, #56
	bl	_bzero
	str	w22, [sp, #120]
	add	x23, sp, #56
	add	x0, sp, #56
	mov	w1, #56
	bl	_bzero
	str	w22, [sp, #64]
	mov	x24, sp
	mov	x0, sp
	mov	w1, #56
	bl	_bzero
	str	w22, [sp, #12]
	sub	x0, x29, #120
	mov	w1, #56
	bl	_bzero
	ldur	x8, [x29, #-72]
Lloh3:
	adrp	x9, _RTAX_DST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RTAX_DST@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	str	x21, [x8, x9, lsl #3]
	ldur	x8, [x29, #-72]
Lloh6:
	adrp	x9, _RTAX_NETMASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RTAX_NETMASK@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	str	x23, [x8, x9, lsl #3]
	ldur	x8, [x29, #-72]
Lloh9:
	adrp	x9, _RTAX_GATEWAY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RTAX_GATEWAY@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	str	x24, [x8, x9, lsl #3]
	ldr	w0, [x20, #12]
Lloh12:
	adrp	x8, _NHR_REF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NHR_REF@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	sub	x4, x29, #120
	mov	x1, x19
	mov	w3, #0
	bl	_rib_lookup_info
	cbnz	x0, LBB0_8
; %bb.1:
	ldur	w21, [x29, #-104]
Lloh15:
	adrp	x8, _RTF_GATEWAY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RTF_GATEWAY@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x22, _RTF_HOST@GOTPAGE
Lloh19:
	ldr	x22, [x22, _RTF_HOST@GOTPAGEOFF]
	tst	w8, w21
	b.eq	LBB0_10
; %bb.2:
	ldr	w8, [x22]
	tst	w8, w21
	b.eq	LBB0_7
; %bb.3:
	ldur	x8, [x29, #-88]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x9, [x8]
Lloh20:
	adrp	x10, _IFT_ETHER@GOTPAGE
Lloh21:
	ldr	x10, [x10, _IFT_ETHER@GOTPAGEOFF]
Lloh22:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.5:
	ldr	w8, [x8, #8]
Lloh23:
	adrp	x9, _IFF_NOARP@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IFF_NOARP@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	adrp	x10, _IFF_STATICARP@GOTPAGE
Lloh27:
	ldr	x10, [x10, _IFF_STATICARP@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_7
; %bb.6:
	ldr	w0, [sp, #40]
	ldr	w1, [x19, #40]
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_10
LBB0_7:
	sub	x0, x29, #120
	bl	_rib_free_info
LBB0_8:
Lloh29:
	adrp	x8, _EINVAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #240]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_10:
	sub	x0, x29, #120
	bl	_rib_free_info
	mov	w0, #0
	ldr	w8, [x22]
	tst	w8, w21
	b.ne	LBB0_9
; %bb.11:
	ldur	x8, [x29, #-88]
	cmp	x8, x20
	b.eq	LBB0_9
; %bb.12:
	ldur	w8, [x29, #-100]
Lloh32:
	adrp	x9, _RTA_NETMASK@GOTPAGE
Lloh33:
	ldr	x9, [x9, _RTA_NETMASK@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.13:
	ldrsw	x8, [x19, #8]
	add	x9, x19, x8
	cmp	x9, x19
	b.ls	LBB0_17
; %bb.14:
	add	x9, sp, #56
	add	x10, sp, #112
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x10]
	ldrb	w12, [x19]
	eor	w11, w12, w11
	ldrb	w12, [x9]
	tst	w11, w12
	b.ne	LBB0_8
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w0, #0
	add	x10, x10, #1
	add	x9, x9, #1
	add	x19, x19, #1
	subs	x8, x8, #1
	b.ne	LBB0_15
	b	LBB0_9
LBB0_17:
	mov	w0, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_RTAX_DST,8,3                   ; @RTAX_DST
	.comm	_RTAX_NETMASK,8,3               ; @RTAX_NETMASK
	.comm	_RTAX_GATEWAY,8,3               ; @RTAX_GATEWAY
	.comm	_NHR_REF,4,2                    ; @NHR_REF
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RTF_GATEWAY,4,2                ; @RTF_GATEWAY
	.comm	_RTF_HOST,4,2                   ; @RTF_HOST
	.comm	_IFT_ETHER,8,3                  ; @IFT_ETHER
	.comm	_IFF_NOARP,4,2                  ; @IFF_NOARP
	.comm	_IFF_STATICARP,4,2              ; @IFF_STATICARP
	.comm	_RTA_NETMASK,4,2                ; @RTA_NETMASK
	.comm	_INET_ADDRSTRLEN,4,2            ; @INET_ADDRSTRLEN
	.comm	_LOG_INFO,4,2                   ; @LOG_INFO
	.no_dead_strip	_in_lltable_rtcheck
.subsections_via_symbols
