	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_v6_send_reset
_tcp_v6_send_reset:                     ## @tcp_v6_send_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_tcp_hdr
	cmpq	$0, 40(%rax)
	jne	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_ipv6_unicast_destination
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	cmpq	$0, 32(%rbx)
	je	LBB0_4
## %bb.3:
	movl	28(%rbx), %edi
	callq	_ntohl
	movq	%rax, %rsi
	xorl	%edx, %edx
	jmp	LBB0_5
LBB0_4:
	movl	24(%rbx), %edi
	callq	_ntohl
	movq	%rax, %rdx
	addq	16(%rbx), %rdx
	addq	8(%rbx), %rdx
	addq	(%r14), %rdx
	movl	(%rbx), %eax
	shll	$2, %eax
	cltq
	subq	%rax, %rdx
	xorl	%esi, %esi
LBB0_5:
	movl	$1, (%rsp)
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_tcp_v6_send_response
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tcp_v6_send_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_v6_send_reset
_tcp_v6_send_reset:                     ; @tcp_v6_send_reset
	.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	x19, x1
	mov	x0, x1
	bl	_tcp_hdr
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x20, x0
	mov	x0, x19
	bl	_ipv6_unicast_destination
	cbz	w0, LBB0_1
; %bb.3:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w0, [x20, #28]
	bl	_ntohl
	mov	x1, x0
	mov	x2, #0
	b	LBB0_6
LBB0_5:
	ldr	w0, [x20, #24]
	bl	_ntohl
	mov	x1, #0
	ldp	x9, x8, [x20, #8]
	add	x8, x8, x0
	add	x8, x8, x9
	ldr	x9, [x19]
	add	x8, x8, x9
	ldr	w9, [x20]
	lsl	w9, w9, #2
	sub	x2, x8, w9, sxtw
LBB0_6:
	mov	x0, x19
	mov	w3, #0
	mov	w4, #0
	mov	x5, #0
	mov	w6, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tcp_v6_send_response
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tcp_v6_send_reset
.subsections_via_symbols
