	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_ipsec_input
_tcp_ipsec_input:                       ## @tcp_ipsec_input
	.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, %r14
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TCP_SIGLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	-60(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r13, %rdi
	callq	_setsockaddrs
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_IPSEC_MODE_TCPMD5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	$0, -80(%rbp)
	leaq	-80(%rbp), %rdi
	callq	_key_allocsa_tcpmd5
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_tcp_fields_to_net
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_tcp_signature_compute
	movq	%r12, %rdi
	callq	_tcp_fields_to_host
	leaq	-56(%rbp), %rdi
	callq	_key_freesav
	movq	_TCP_SIGLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_tcps_sig_rcvbadsig@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_tcps_sig_err_buildsig@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %edi
	callq	_KMOD_TCPSTAT_INC
	movq	_EACCES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_5:
	movq	_tcps_sig_rcvgoodsig@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_KMOD_TCPSTAT_INC
	xorl	%eax, %eax
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TCP_SIGLEN,4,2                 ## @TCP_SIGLEN
	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
	.comm	_IPSEC_MODE_TCPMD5,4,2          ## @IPSEC_MODE_TCPMD5
	.comm	_tcps_sig_err_buildsig,4,2      ## @tcps_sig_err_buildsig
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_tcps_sig_rcvbadsig,4,2         ## @tcps_sig_rcvbadsig
	.comm	_tcps_sig_rcvgoodsig,4,2        ## @tcps_sig_rcvgoodsig
	.no_dead_strip	_tcp_ipsec_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_ipsec_input
_tcp_ipsec_input:                       ; @tcp_ipsec_input
	.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
	sub	sp, sp, #48
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x24, _TCP_SIGLEN@GOTPAGE
Lloh4:
	ldr	x24, [x24, _TCP_SIGLEN@GOTPAGEOFF]
	ldr	w8, [x24]
	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
	sub	x8, x29, #80
	add	x1, x8, #20
	add	x2, x8, #16
	bl	_setsockaddrs
Lloh7:
	adrp	x8, _IPPROTO_TCP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IPPROTO_TCP@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _IPSEC_MODE_TCPMD5@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IPSEC_MODE_TCPMD5@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x29, #-72]
	stur	xzr, [x29, #-80]
	sub	x0, x29, #80
	bl	_key_allocsa_tcpmd5
	stur	x0, [x29, #-88]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, x0
	mov	x0, x20
	bl	_tcp_fields_to_net
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	mov	x3, x21
	bl	_tcp_signature_compute
	mov	x0, x20
	bl	_tcp_fields_to_host
	sub	x0, x29, #88
	bl	_key_freesav
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x21
	bl	_bcmp
	cbz	x0, LBB0_5
; %bb.2:
Lloh13:
	adrp	x8, _tcps_sig_rcvbadsig@GOTPAGE
Lloh14:
	ldr	x8, [x8, _tcps_sig_rcvbadsig@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh15:
	adrp	x8, _tcps_sig_err_buildsig@GOTPAGE
Lloh16:
	ldr	x8, [x8, _tcps_sig_err_buildsig@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	bl	_KMOD_TCPSTAT_INC
Lloh17:
	adrp	x8, _EACCES@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
Lloh20:
	adrp	x8, _tcps_sig_rcvgoodsig@GOTPAGE
Lloh21:
	ldr	x8, [x8, _tcps_sig_rcvgoodsig@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_KMOD_TCPSTAT_INC
	mov	w0, #0
LBB0_6:
	ldur	x8, [x29, #-56]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	sub	sp, x29, #48
	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
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_TCP_SIGLEN,4,2                 ; @TCP_SIGLEN
	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
	.comm	_IPSEC_MODE_TCPMD5,4,2          ; @IPSEC_MODE_TCPMD5
	.comm	_tcps_sig_err_buildsig,4,2      ; @tcps_sig_err_buildsig
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_tcps_sig_rcvbadsig,4,2         ; @tcps_sig_rcvbadsig
	.comm	_tcps_sig_rcvgoodsig,4,2        ; @tcps_sig_rcvgoodsig
	.no_dead_strip	_tcp_ipsec_input
.subsections_via_symbols
