	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_toe_4tuple_check               ## -- Begin function toe_4tuple_check
	.p2align	4, 0x90
_toe_4tuple_check:                      ## @toe_4tuple_check
	.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
	movq	%rsi, %r14
	movq	%rdi, %rcx
	movq	_INC_ISIPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	leaq	24(%rcx), %rsi
	movl	4(%rcx), %r8d
	movl	12(%rcx), %eax
	addq	$20, %rcx
	movq	_INPLOOKUP_WLOCKPCB@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r9d
	movq	%rdx, (%rsp)
	movq	_V_tcbinfo@GOTPCREL(%rip), %rdi
	movl	%eax, %edx
	callq	_in6_pcblookup
	jmp	LBB0_3
LBB0_2:
	movl	16(%rcx), %esi
	movl	12(%rcx), %eax
	movl	4(%rcx), %r8d
	movl	8(%rcx), %ecx
	movq	_INPLOOKUP_WLOCKPCB@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r9d
	movq	%rdx, (%rsp)
	movq	_V_tcbinfo@GOTPCREL(%rip), %rdi
	movl	%eax, %edx
	callq	_in_pcblookup
LBB0_3:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	_INP_WLOCK_ASSERT
	testq	%r14, %r14
	je	LBB0_8
## %bb.6:
	movq	_INP_TIMEWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	je	LBB0_8
## %bb.7:
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_tcp_twcheck
	testl	%eax, %eax
	je	LBB0_9
	jmp	LBB0_10
LBB0_4:
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_8:
	movq	%rbx, %rdi
	callq	_INP_WUNLOCK
LBB0_9:
	movq	_EADDRINUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INC_ISIPV6,4,2                 ## @INC_ISIPV6
	.comm	_V_tcbinfo,4,2                  ## @V_tcbinfo
	.comm	_INPLOOKUP_WLOCKPCB,4,2         ## @INPLOOKUP_WLOCKPCB
	.comm	_INP_TIMEWAIT,4,2               ## @INP_TIMEWAIT
	.comm	_EADDRINUSE,4,2                 ## @EADDRINUSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_toe_4tuple_check               ; -- Begin function toe_4tuple_check
	.p2align	2
_toe_4tuple_check:                      ; @toe_4tuple_check
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x6, x2
	mov	x19, x1
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _INC_ISIPV6@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INC_ISIPV6@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	add	x1, x0, #24
	ldr	w2, [x0, #12]
	add	x3, x0, #20
	ldr	w4, [x0, #4]
Lloh3:
	adrp	x8, _INPLOOKUP_WLOCKPCB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INPLOOKUP_WLOCKPCB@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
Lloh6:
	adrp	x0, _V_tcbinfo@GOTPAGE
Lloh7:
	ldr	x0, [x0, _V_tcbinfo@GOTPAGEOFF]
	bl	_in6_pcblookup
	mov	x20, x0
	cbz	x0, LBB0_6
LBB0_2:
	mov	x0, x20
	bl	_INP_WLOCK_ASSERT
	cbz	x19, LBB0_7
; %bb.3:
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _INP_TIMEWAIT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _INP_TIMEWAIT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	and	w8, w9, w8
	cbz	w8, LBB0_7
; %bb.4:
	mov	x0, x20
	mov	x1, #0
	mov	x2, x19
	mov	x3, #0
	mov	w4, #0
	bl	_tcp_twcheck
Lloh11:
	adrp	x8, _EADDRINUSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EADDRINUSE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w0, w8, wzr, eq
	b	LBB0_8
LBB0_5:
	ldp	w2, w1, [x0, #12]
	ldp	w4, w3, [x0, #4]
Lloh14:
	adrp	x8, _INPLOOKUP_WLOCKPCB@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INPLOOKUP_WLOCKPCB@GOTPAGEOFF]
Lloh16:
	ldr	w5, [x8]
Lloh17:
	adrp	x0, _V_tcbinfo@GOTPAGE
Lloh18:
	ldr	x0, [x0, _V_tcbinfo@GOTPAGEOFF]
	bl	_in_pcblookup
	mov	x20, x0
	cbnz	x0, LBB0_2
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	bl	_INP_WUNLOCK
Lloh19:
	adrp	x8, _EADDRINUSE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EADDRINUSE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_INC_ISIPV6,4,2                 ; @INC_ISIPV6
	.comm	_V_tcbinfo,4,2                  ; @V_tcbinfo
	.comm	_INPLOOKUP_WLOCKPCB,4,2         ; @INPLOOKUP_WLOCKPCB
	.comm	_INP_TIMEWAIT,4,2               ; @INP_TIMEWAIT
	.comm	_EADDRINUSE,4,2                 ; @EADDRINUSE
.subsections_via_symbols
