	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nf_nat_icmp_reply_translation  ## -- Begin function nf_nat_icmp_reply_translation
	.p2align	4, 0x90
_nf_nat_icmp_reply_translation:         ## @nf_nat_icmp_reply_translation
	.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	%rcx, %r14
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	%rcx, %rdi
	callq	_ip_hdrlen
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	_CTINFO2DIR
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	callq	_HOOK2MANIP
	movl	%eax, %ebx
	leal	24(%r13), %esi
	movq	%r14, %rdi
	callq	_skb_make_writable
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	24(%r14), %rbx
	movq	%r14, %rdi
	callq	_ip_hdrlen
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	callq	_nf_ip_checksum
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movslq	%r12d, %r15
	movq	(%r14), %rax
	movq	_IP_CT_RELATED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	sete	%dl
	movq	_IP_CT_IS_REPLY@GOTPCREL(%rip), %rsi
	addq	(%rsi), %rcx
	cmpq	%rcx, %rax
	sete	%al
	orb	%dl, %al
	movzbl	%al, %edi
	callq	_NF_CT_ASSERT
	movq	(%rbx,%r15), %rax
	movq	_ICMP_REDIRECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.6:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	_IPS_NAT_DONE_MASK@GOTPCREL(%rip), %rcx
	movl	%eax, %edx
	notl	%edx
	testl	%edx, (%rcx)
	jne	LBB0_3
## %bb.7:
	movq	_IPS_NAT_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
LBB0_9:
	movq	_IP_CT_DIR_ORIGINAL@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_pr_debug
	movq	_PF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%rbx,%r15), %esi
	callq	___nf_ct_l4proto_find
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_ip_hdrlen
                                        ## kill: def $eax killed $eax def $rax
	leal	16(%rax), %r12d
	movq	%r14, %rdi
	callq	_ip_hdrlen
                                        ## kill: def $eax killed $eax def $rax
	movl	16(%rbx,%r15), %ecx
	movl	20(%rbx,%r15), %r8d
	leal	(%rax,%rcx,4), %edx
	addl	$16, %edx
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_l3proto@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-80(%rbp), %r9
	movq	%r14, %rdi
	movl	%r12d, %esi
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	callq	_nf_ct_get_tuple
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_3
## %bb.10:
	movl	20(%rbx,%r15), %r15d
	movq	%r14, %rdi
	callq	_ip_hdrlen
                                        ## kill: def $eax killed $eax def $rax
	leal	16(%rax), %edx
	xorl	%eax, %eax
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	shlq	$2, %rax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r12), %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	addq	%rax, %rcx
	xorl	%r8d, %r8d
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	sete	%r8b
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_manip_pkt
	testl	%eax, %eax
	movl	$0, %ebx
	je	LBB0_4
## %bb.11:
	movq	8(%r14), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.12:
	movslq	%r13d, %r15
	movq	24(%r14), %r12
	movq	%r14, %rdi
	callq	_ip_hdrlen
	movslq	%eax, %rbx
	movq	$0, 8(%r12,%rbx)
	movq	16(%r14), %rdx
	subq	%r15, %rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	xorl	%ecx, %ecx
	callq	_skb_checksum
	movl	%eax, %edi
	callq	_csum_fold
	movq	%rax, 8(%r12,%rbx)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_13:
	movq	_IP_NAT_MANIP_SRC@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rax), %ecx
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	jne	LBB0_17
## %bb.14:
	movq	_IPS_SRC_NAT@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_17:
	movq	_IPS_DST_NAT@GOTPCREL(%rip), %rax
LBB0_18:
	movq	_IP_CT_DIR_REPLY@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpl	(%rdx), %esi
	jne	LBB0_20
## %bb.19:
	movq	_IPS_NAT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_20:
	movslq	%ecx, %rcx
	xorq	(%rax), %rcx
	movslq	(%r12), %rax
	testq	%rax, %rcx
	je	LBB0_22
## %bb.21:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addq	8(%r12), %rsi
	leaq	-72(%rbp), %r15
	movq	%r15, %rdi
	callq	_nf_ct_invert_tuplepr
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movq	%r15, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_manip_pkt
	testl	%eax, %eax
	je	LBB0_4
LBB0_22:
	movl	$1, %ebx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_IP_CT_RELATED,8,3              ## @IP_CT_RELATED
	.comm	_IP_CT_IS_REPLY,8,3             ## @IP_CT_IS_REPLY
	.comm	_ICMP_REDIRECT,8,3              ## @ICMP_REDIRECT
	.comm	_IPS_NAT_DONE_MASK,4,2          ## @IPS_NAT_DONE_MASK
	.comm	_IPS_NAT_MASK,4,2               ## @IPS_NAT_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"icmp_reply_translation: translating error %p manip %u dir %s\n"

	.comm	_IP_CT_DIR_ORIGINAL,4,2         ## @IP_CT_DIR_ORIGINAL
L_.str.1:                               ## @.str.1
	.asciz	"ORIG"

L_.str.2:                               ## @.str.2
	.asciz	"REPLY"

	.comm	_PF_INET,4,2                    ## @PF_INET
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_l3proto,4,2                    ## @l3proto
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_IP_NAT_MANIP_SRC,4,2           ## @IP_NAT_MANIP_SRC
	.comm	_IPS_SRC_NAT,8,3                ## @IPS_SRC_NAT
	.comm	_IPS_DST_NAT,8,3                ## @IPS_DST_NAT
	.comm	_IP_CT_DIR_REPLY,4,2            ## @IP_CT_DIR_REPLY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nf_nat_icmp_reply_translation  ; -- Begin function nf_nat_icmp_reply_translation
	.p2align	2
_nf_nat_icmp_reply_translation:         ; @nf_nat_icmp_reply_translation
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x24, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x3
	bl	_ip_hdrlen
	mov	x23, x0
	mov	x0, x21
	bl	_CTINFO2DIR
	mov	x22, x0
	mov	x0, x24
	bl	_HOOK2MANIP
	mov	x21, x0
	add	w1, w23, #24
	mov	x0, x19
	bl	_skb_make_writable
	cbz	w0, LBB0_2
; %bb.1:
	sxtw	x23, w23
	ldr	x26, [x19, #24]
	mov	x0, x19
	bl	_ip_hdrlen
	mov	x25, x0
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	mov	w3, #0
	bl	_nf_ip_checksum
	mov	x8, x0
	mov	w0, #0
	cbz	x8, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_3:
	add	x26, x26, w25, sxtw
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _IP_CT_RELATED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IP_CT_RELATED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh3:
	adrp	x10, _IP_CT_IS_REPLY@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IP_CT_IS_REPLY@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x9, x10, x9
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_NF_CT_ASSERT
	ldr	x8, [x26]
Lloh6:
	adrp	x9, _ICMP_REDIRECT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ICMP_REDIRECT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	ldr	w8, [x20]
Lloh9:
	adrp	x9, _IPS_NAT_DONE_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IPS_NAT_DONE_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.ne	LBB0_6
; %bb.5:
Lloh12:
	adrp	x9, _IPS_NAT_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IPS_NAT_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_6:
	mov	w0, #0
	b	LBB0_2
LBB0_7:
Lloh15:
	adrp	x8, _IP_CT_DIR_ORIGINAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IP_CT_DIR_ORIGINAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, l_.str.2@PAGE
Lloh19:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh20:
	adrp	x10, l_.str.1@PAGE
Lloh21:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w22, w8
	csel	x3, x10, x9, eq
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x21
	bl	_pr_debug
Lloh24:
	adrp	x8, _PF_INET@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PF_INET@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	w1, [x26, #20]
	bl	___nf_ct_l4proto_find
	mov	x24, x0
	mov	x0, x19
	bl	_ip_hdrlen
	add	w25, w0, #16
	mov	x0, x19
	bl	_ip_hdrlen
	ldp	w8, w4, [x26, #16]
	add	w8, w0, w8, lsl #2
	add	w2, w8, #16
Lloh27:
	adrp	x8, _AF_INET@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh29:
	ldr	w3, [x8]
Lloh30:
	adrp	x8, _l3proto@GOTPAGE
Lloh31:
	ldr	x8, [x8, _l3proto@GOTPAGEOFF]
Lloh32:
	ldr	w6, [x8]
	add	x5, sp, #8
	mov	x0, x19
	mov	x1, x25
	mov	x7, x24
	bl	_nf_ct_get_tuple
	cbz	w0, LBB0_2
; %bb.8:
	ldr	w24, [x26, #20]
	mov	x0, x19
	bl	_ip_hdrlen
	add	w2, w0, #16
	ldr	x8, [x20, #8]
	cmp	w22, #0
	cset	w25, eq
	add	x3, x8, w25, uxtw #2
	cmp	w21, #0
	cset	w4, eq
	mov	x0, x24
	mov	x1, x19
	bl	_manip_pkt
	cbz	w0, LBB0_2
; %bb.9:
	ldr	x8, [x19, #8]
Lloh33:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh34:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.10:
	ldr	x24, [x19, #24]
	mov	x0, x19
	bl	_ip_hdrlen
	add	x24, x24, w0, sxtw
	str	xzr, [x24, #8]
	ldr	x8, [x19, #16]
	sub	x2, x8, x23
	mov	x0, x19
	mov	x1, x23
	mov	w3, #0
	bl	_skb_checksum
	bl	_csum_fold
	str	x0, [x24, #8]
LBB0_11:
Lloh36:
	adrp	x8, _IP_NAT_MANIP_SRC@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IP_NAT_MANIP_SRC@GOTPAGEOFF]
Lloh38:
	adrp	x9, _IPS_SRC_NAT@GOTPAGE
Lloh39:
	ldr	x9, [x9, _IPS_SRC_NAT@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x10, _IPS_DST_NAT@GOTPAGE
Lloh42:
	ldr	x10, [x10, _IPS_DST_NAT@GOTPAGEOFF]
	cmp	w21, w8
	csel	x8, x9, x10, eq
	ldr	x8, [x8]
Lloh43:
	adrp	x9, _IP_CT_DIR_REPLY@GOTPAGE
Lloh44:
	ldr	x9, [x9, _IP_CT_DIR_REPLY@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
Lloh46:
	adrp	x10, _IPS_NAT_MASK@GOTPAGE
Lloh47:
	ldr	x10, [x10, _IPS_NAT_MASK@GOTPAGEOFF]
Lloh48:
	ldr	w10, [x10]
	cmp	w22, w9
	csel	w9, w10, wzr, eq
	sxtw	x9, w9
	eor	x8, x8, x9
	ldrsw	x9, [x20]
	tst	x8, x9
	b.eq	LBB0_13
; %bb.12:
	ldr	x8, [x20, #8]
	add	x1, x8, x25, lsl #2
	mov	x0, sp
	bl	_nf_ct_invert_tuplepr
	mov	x3, sp
	mov	w0, #0
	mov	x1, x19
	mov	w2, #0
	mov	x4, x21
	bl	_manip_pkt
	cbz	w0, LBB0_2
LBB0_13:
	mov	w0, #1
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_IP_CT_RELATED,8,3              ; @IP_CT_RELATED
	.comm	_IP_CT_IS_REPLY,8,3             ; @IP_CT_IS_REPLY
	.comm	_ICMP_REDIRECT,8,3              ; @ICMP_REDIRECT
	.comm	_IPS_NAT_DONE_MASK,4,2          ; @IPS_NAT_DONE_MASK
	.comm	_IPS_NAT_MASK,4,2               ; @IPS_NAT_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"icmp_reply_translation: translating error %p manip %u dir %s\n"

	.comm	_IP_CT_DIR_ORIGINAL,4,2         ; @IP_CT_DIR_ORIGINAL
l_.str.1:                               ; @.str.1
	.asciz	"ORIG"

l_.str.2:                               ; @.str.2
	.asciz	"REPLY"

	.comm	_PF_INET,4,2                    ; @PF_INET
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_l3proto,4,2                    ; @l3proto
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_IP_NAT_MANIP_SRC,4,2           ; @IP_NAT_MANIP_SRC
	.comm	_IPS_SRC_NAT,8,3                ; @IPS_SRC_NAT
	.comm	_IPS_DST_NAT,8,3                ; @IPS_DST_NAT
	.comm	_IP_CT_DIR_REPLY,4,2            ; @IP_CT_DIR_REPLY
.subsections_via_symbols
