	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_vs_nat_xmit                 ## -- Begin function ip_vs_nat_xmit
	.p2align	4, 0x90
_ip_vs_nat_xmit:                        ## @ip_vs_nat_xmit
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_ip_hdr
	movq	%rax, %r13
	movl	$10, %edi
	callq	_EnterFunction
	movq	_IP_VS_CONN_F_NO_CPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%r15), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	(%r13), %esi
	shll	$2, %esi
	leaq	-52(%rbp), %rcx
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_skb_header_pointer
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	%rax, %rbx
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ip_vs_conn_fill_cport
	movl	(%rbx), %edi
	callq	_ntohs
	leaq	L_.str(%rip), %rsi
	movl	$10, %edi
	movl	%eax, %edx
	callq	_IP_VS_DBG
LBB0_3:
	movl	12(%r13), %edi
	callq	_RT_TOS
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	___ip_vs_get_out_rt
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_dst_mtu
	cmpl	%eax, (%r14)
	jle	LBB0_8
## %bb.5:
	movl	%eax, %ebx
	movl	4(%r13), %r13d
	movq	_IP_DF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	testl	%r13d, %eax
	je	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	callq	_skb_is_gso
	testl	%eax, %eax
	je	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_skb_make_writable
	testl	%eax, %eax
	je	LBB0_16
## %bb.9:
	movq	(%r12), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_skb_cow
	testq	%rax, %rax
	je	LBB0_10
LBB0_16:
	movq	%r12, %rdi
	callq	_ip_rt_put
	jmp	LBB0_14
LBB0_13:
	movq	%r14, %rdi
	callq	_dst_link_failure
LBB0_14:
	movl	$10, %edi
	callq	_LeaveFunction
	movq	%r14, %rdi
	callq	_kfree_skb
LBB0_15:
	movq	_NF_STOLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r14, %rdi
	callq	_skb_dst_drop
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_skb_dst_set
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_14
LBB0_12:
	movl	4(%r15), %r15d
	movq	%r14, %rdi
	callq	_ip_hdr
	movl	%r15d, 8(%rax)
	movq	%r14, %rdi
	callq	_ip_hdr
	movq	%rax, %rdi
	callq	_ip_send_check
	leaq	L_.str.2(%rip), %r8
	movl	$10, %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_IP_VS_DBG_PKT
	movl	$1, 4(%r14)
	movq	_PF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_IP_VS_XMIT
	movl	$10, %edi
	callq	_LeaveFunction
	jmp	LBB0_15
LBB0_7:
	movq	%r12, %rdi
	callq	_ip_rt_put
	movq	_ICMP_DEST_UNREACH@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ICMP_FRAG_NEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%ebx, %edi
	callq	_htonl
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_icmp_send
	leaq	L_.str.1(%rip), %r8
	xorl	%edi, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_IP_VS_DBG_RL_PKT
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_IP_VS_CONN_F_NO_CPORT,4,2      ## @IP_VS_CONN_F_NO_CPORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"filled cport=%d\n"

	.comm	_IP_DF,4,2                      ## @IP_DF
	.comm	_ICMP_DEST_UNREACH,4,2          ## @ICMP_DEST_UNREACH
	.comm	_ICMP_FRAG_NEEDED,4,2           ## @ICMP_FRAG_NEEDED
L_.str.1:                               ## @.str.1
	.asciz	"ip_vs_nat_xmit(): frag needed for"

L_.str.2:                               ## @.str.2
	.asciz	"After DNAT"

	.comm	_PF_INET,4,2                    ## @PF_INET
	.comm	_NF_STOLEN,4,2                  ## @NF_STOLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_vs_nat_xmit                 ; -- Begin function ip_vs_nat_xmit
	.p2align	2
_ip_vs_nat_xmit:                        ; @ip_vs_nat_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_ip_hdr
	mov	x23, x0
	mov	w0, #10
	bl	_EnterFunction
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _IP_VS_CONN_F_NO_CPORT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IP_VS_CONN_F_NO_CPORT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x23]
	lsl	w1, w8, #2
	add	x3, sp, #12
	mov	x0, x19
	mov	w2, #4
	bl	_skb_header_pointer
	cbz	x0, LBB0_11
; %bb.2:
	mov	x22, x0
	ldr	w1, [x0]
	mov	x0, x21
	bl	_ip_vs_conn_fill_cport
	ldr	w0, [x22]
	bl	_ntohs
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #10
	bl	_IP_VS_DBG
LBB0_3:
	ldr	w0, [x23, #12]
	bl	_RT_TOS
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	___ip_vs_get_out_rt
	cbz	x0, LBB0_10
; %bb.4:
	mov	x22, x0
	bl	_dst_mtu
	ldr	w8, [x19]
	cmp	w8, w0
	b.le	LBB0_7
; %bb.5:
	mov	x24, x0
	ldr	w23, [x23, #4]
Lloh5:
	adrp	x8, _IP_DF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IP_DF@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_htons
	tst	w0, w23
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_skb_is_gso
	cbz	w0, LBB0_16
LBB0_7:
	mov	x0, x19
	mov	w1, #16
	bl	_skb_make_writable
	cbz	w0, LBB0_9
; %bb.8:
	ldr	x8, [x22]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skb_cow
	cbz	x0, LBB0_13
LBB0_9:
	mov	x0, x22
	bl	_ip_rt_put
	b	LBB0_11
LBB0_10:
	mov	x0, x19
	bl	_dst_link_failure
LBB0_11:
	mov	w0, #10
	bl	_LeaveFunction
	mov	x0, x19
	bl	_kfree_skb
LBB0_12:
Lloh8:
	adrp	x8, _NF_STOLEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NF_STOLEN@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	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
	add	sp, sp, #80
	ret
LBB0_13:
	mov	x0, x19
	bl	_skb_dst_drop
	mov	x0, x19
	mov	x1, x22
	bl	_skb_dst_set
	ldr	x8, [x20]
	cbz	x8, LBB0_15
; %bb.14:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	blr	x8
	cbz	w0, LBB0_11
LBB0_15:
	ldr	w21, [x21, #4]
	mov	x0, x19
	bl	_ip_hdr
	str	w21, [x0, #8]
	mov	x0, x19
	bl	_ip_hdr
	bl	_ip_send_check
Lloh11:
	adrp	x4, l_.str.2@PAGE
Lloh12:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	w0, #10
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	bl	_IP_VS_DBG_PKT
	mov	w8, #1
	str	w8, [x19, #4]
Lloh13:
	adrp	x8, _PF_INET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PF_INET@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x22
	bl	_IP_VS_XMIT
	mov	w0, #10
	bl	_LeaveFunction
	b	LBB0_12
LBB0_16:
	mov	x0, x22
	bl	_ip_rt_put
Lloh16:
	adrp	x8, _ICMP_DEST_UNREACH@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ICMP_DEST_UNREACH@GOTPAGEOFF]
Lloh18:
	ldr	w21, [x8]
Lloh19:
	adrp	x8, _ICMP_FRAG_NEEDED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ICMP_FRAG_NEEDED@GOTPAGEOFF]
Lloh21:
	ldr	w22, [x8]
	mov	x0, x24
	bl	_htonl
	mov	x3, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_icmp_send
Lloh22:
	adrp	x4, l_.str.1@PAGE
Lloh23:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	w0, #0
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	bl	_IP_VS_DBG_RL_PKT
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IP_VS_CONN_F_NO_CPORT,4,2      ; @IP_VS_CONN_F_NO_CPORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"filled cport=%d\n"

	.comm	_IP_DF,4,2                      ; @IP_DF
	.comm	_ICMP_DEST_UNREACH,4,2          ; @ICMP_DEST_UNREACH
	.comm	_ICMP_FRAG_NEEDED,4,2           ; @ICMP_FRAG_NEEDED
l_.str.1:                               ; @.str.1
	.asciz	"ip_vs_nat_xmit(): frag needed for"

l_.str.2:                               ; @.str.2
	.asciz	"After DNAT"

	.comm	_PF_INET,4,2                    ; @PF_INET
	.comm	_NF_STOLEN,4,2                  ; @NF_STOLEN
.subsections_via_symbols
