	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function in6_lltable_lookup
_in6_lltable_lookup:                    ## @in6_lltable_lookup
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_IF_AFDATA_LOCK_ASSERT
	movq	(%r15), %rsi
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rsi
	sete	%dil
	callq	_KASSERT
	movq	_LLE_UNLOCKED@GOTPCREL(%rip), %r13
	movq	_LLE_EXCLUSIVE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	orl	(%r13), %eax
	movl	%r14d, %ecx
	notl	%ecx
	xorl	%edi, %edi
	testl	%ecx, %eax
	setne	%dil
	movslq	%r14d, %rsi
	callq	_KASSERT
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_in6_lltable_find_dst
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	testl	%r14d, (%r13)
	jne	LBB0_10
## %bb.2:
	testl	%r14d, (%r12)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_LLE_WLOCK
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_LLE_RLOCK
LBB0_5:
	movq	_LLE_LINKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%rbx), %eax
	sete	%dil
	callq	___predict_false
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	testl	%r14d, (%r12)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_LLE_WUNLOCK
	jmp	LBB0_9
LBB0_8:
	movq	%rbx, %rdi
	callq	_LLE_RUNLOCK
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_LLE_UNLOCKED,4,2               ## @LLE_UNLOCKED
	.comm	_LLE_EXCLUSIVE,4,2              ## @LLE_EXCLUSIVE
	.comm	_LLE_LINKED,4,2                 ## @LLE_LINKED
	.no_dead_strip	_in6_lltable_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function in6_lltable_lookup
_in6_lltable_lookup:                    ; @in6_lltable_lookup
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x0]
	bl	_IF_AFDATA_LOCK_ASSERT
	ldr	x1, [x20]
Lloh0:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	cset	w0, eq
	bl	_KASSERT
Lloh3:
	adrp	x23, _LLE_UNLOCKED@GOTPAGE
Lloh4:
	ldr	x23, [x23, _LLE_UNLOCKED@GOTPAGEOFF]
Lloh5:
	adrp	x22, _LLE_EXCLUSIVE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _LLE_EXCLUSIVE@GOTPAGEOFF]
	ldr	w8, [x23]
	ldr	w9, [x22]
	orr	w8, w9, w8
	bics	wzr, w8, w19
	cset	w0, ne
	sxtw	x1, w19
	bl	_KASSERT
	mov	x0, x21
	mov	x1, x20
	bl	_in6_lltable_find_dst
	mov	x20, x0
	cbz	x0, LBB0_10
; %bb.1:
	ldr	w8, [x23]
	tst	w8, w19
	b.ne	LBB0_10
; %bb.2:
	ldr	w8, [x22]
	mov	x0, x20
	tst	w8, w19
	b.eq	LBB0_4
; %bb.3:
	bl	_LLE_WLOCK
	b	LBB0_5
LBB0_4:
	bl	_LLE_RLOCK
LBB0_5:
	ldr	w8, [x20]
Lloh7:
	adrp	x9, _LLE_LINKED@GOTPAGE
Lloh8:
	ldr	x9, [x9, _LLE_LINKED@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	___predict_false
	cbz	x0, LBB0_10
; %bb.6:
	ldr	w8, [x22]
	mov	x0, x20
	tst	w8, w19
	b.eq	LBB0_8
; %bb.7:
	bl	_LLE_WUNLOCK
	b	LBB0_9
LBB0_8:
	bl	_LLE_RUNLOCK
LBB0_9:
	mov	x20, #0
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_LLE_UNLOCKED,4,2               ; @LLE_UNLOCKED
	.comm	_LLE_EXCLUSIVE,4,2              ; @LLE_EXCLUSIVE
	.comm	_LLE_LINKED,4,2                 ; @LLE_LINKED
	.no_dead_strip	_in6_lltable_lookup
.subsections_via_symbols
