	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function in6_lltable_alloc
_in6_lltable_alloc:                     ## @in6_lltable_alloc
	.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	%rdx, %r12
	movl	%esi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r14
	movq	_LLE_MAX_LINKHDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rsi
	movq	_AF_INET6@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpq	(%r15), %rsi
	sete	%dil
	callq	_KASSERT
	movq	_LLE_IFADDR@GOTPCREL(%rip), %r13
	testl	%ebx, (%r13)
	je	LBB0_1
LBB0_3:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_in6_lltable_new
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movl	%ebx, (%rax)
	movl	%ebx, %eax
	notl	%eax
	testl	%eax, (%r13)
	jne	LBB0_9
## %bb.6:
	movq	_LLE_MAX_LINKHDR@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	(%r15), %rbx
	movq	%r14, %rdi
	callq	_IF_LLADDR
	leaq	-64(%rbp), %r8
	leaq	-52(%rbp), %r9
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_lltable_calc_llheader
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_net_epoch_preempt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %r12
	movq	_in6_lltable_destroy_lle_unlocked@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_epoch_call
	xorl	%r12d, %r12d
	jmp	LBB0_11
LBB0_1:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_in6_lltable_rtcheck
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	xorl	%r12d, %r12d
	jmp	LBB0_11
LBB0_4:
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_log
	xorl	%r12d, %r12d
	jmp	LBB0_11
LBB0_8:
	movq	-64(%rbp), %rcx
	movl	-52(%rbp), %r8d
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_lltable_set_entry_addr
	movq	_LLE_STATIC@GOTPCREL(%rip), %rax
	movl	(%r12), %ebx
	orl	(%rax), %ebx
	movl	%ebx, (%r12)
LBB0_9:
	movq	_LLE_STATIC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
## %bb.10:
	movq	_ND6_LLINFO_REACHABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movq	%r12, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LLE_MAX_LINKHDR,4,2            ## @LLE_MAX_LINKHDR
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_LLE_IFADDR,4,2                 ## @LLE_IFADDR
	.comm	_LOG_INFO,4,2                   ## @LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"lla_lookup: new lle malloc failed\n"

	.comm	_net_epoch_preempt,4,2          ## @net_epoch_preempt
	.comm	_in6_lltable_destroy_lle_unlocked,4,2 ## @in6_lltable_destroy_lle_unlocked
	.comm	_LLE_STATIC,4,2                 ## @LLE_STATIC
	.comm	_ND6_LLINFO_REACHABLE,4,2       ## @ND6_LLINFO_REACHABLE
	.no_dead_strip	_in6_lltable_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function in6_lltable_alloc
_in6_lltable_alloc:                     ; @in6_lltable_alloc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #32
	mov	x19, x2
	mov	x22, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x20, [x0]
Lloh3:
	adrp	x23, _LLE_MAX_LINKHDR@GOTPAGE
Lloh4:
	ldr	x23, [x23, _LLE_MAX_LINKHDR@GOTPAGEOFF]
	ldr	w8, [x23]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	x1, [x2]
Lloh7:
	adrp	x24, _AF_INET6@GOTPAGE
Lloh8:
	ldr	x24, [x24, _AF_INET6@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x1, x8
	cset	w0, eq
	bl	_KASSERT
Lloh9:
	adrp	x25, _LLE_IFADDR@GOTPAGE
Lloh10:
	ldr	x25, [x25, _LLE_IFADDR@GOTPAGEOFF]
	ldr	w8, [x25]
	tst	w8, w22
	b.eq	LBB0_5
LBB0_1:
	mov	x0, x19
	mov	x1, x22
	bl	_in6_lltable_new
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.2:
	str	w22, [x19]
	ldr	w8, [x25]
	bics	wzr, w8, w22
	b.ne	LBB0_9
; %bb.3:
	ldrsw	x8, [x23]
	stur	x8, [x29, #-80]
	ldr	x22, [x24]
	mov	x0, x20
	bl	_IF_LLADDR
	mov	x2, x0
	sub	x4, x29, #80
	sub	x5, x29, #84
	mov	x0, x20
	mov	x1, x22
	mov	x3, x21
	bl	_lltable_calc_llheader
	cbz	x0, LBB0_8
; %bb.4:
Lloh11:
	adrp	x8, _net_epoch_preempt@GOTPAGE
Lloh12:
	ldr	x8, [x8, _net_epoch_preempt@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	add	x1, x19, #8
Lloh14:
	adrp	x8, _in6_lltable_destroy_lle_unlocked@GOTPAGE
Lloh15:
	ldr	x8, [x8, _in6_lltable_destroy_lle_unlocked@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	bl	_epoch_call
	mov	x19, #0
	b	LBB0_11
LBB0_5:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_in6_lltable_rtcheck
	cbz	x0, LBB0_1
; %bb.6:
	mov	x19, #0
	b	LBB0_11
LBB0_7:
Lloh17:
	adrp	x8, _LOG_INFO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LOG_INFO@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_log
	b	LBB0_11
LBB0_8:
	ldur	x3, [x29, #-80]
	ldur	w4, [x29, #-84]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_lltable_set_entry_addr
Lloh22:
	adrp	x8, _LLE_STATIC@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LLE_STATIC@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w22, w9, w8
	str	w22, [x19]
LBB0_9:
Lloh25:
	adrp	x8, _LLE_STATIC@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LLE_STATIC@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_11
; %bb.10:
Lloh28:
	adrp	x8, _ND6_LLINFO_REACHABLE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ND6_LLINFO_REACHABLE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	w8, [x19, #4]
LBB0_11:
	ldur	x8, [x29, #-72]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_LLE_MAX_LINKHDR,4,2            ; @LLE_MAX_LINKHDR
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_LLE_IFADDR,4,2                 ; @LLE_IFADDR
	.comm	_LOG_INFO,4,2                   ; @LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"lla_lookup: new lle malloc failed\n"

	.comm	_net_epoch_preempt,4,2          ; @net_epoch_preempt
	.comm	_in6_lltable_destroy_lle_unlocked,4,2 ; @in6_lltable_destroy_lle_unlocked
	.comm	_LLE_STATIC,4,2                 ; @LLE_STATIC
	.comm	_ND6_LLINFO_REACHABLE,4,2       ; @ND6_LLINFO_REACHABLE
	.no_dead_strip	_in6_lltable_alloc
.subsections_via_symbols
