	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ebt_snat_tg
_ebt_snat_tg:                           ## @ebt_snat_tg
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rsi), %r14
	xorl	%esi, %esi
	callq	_skb_make_writable
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_eth_hdr
	movl	8(%rax), %edi
	movl	4(%r14), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	callq	_memcpy
	movq	_NAT_ARP_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_7
## %bb.3:
	movq	%rbx, %rdi
	callq	_eth_hdr
	movq	(%rax), %r12
	movq	_ETH_P_ARP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r12
	jne	LBB0_7
## %bb.4:
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_skb_header_pointer
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	(%rax), %rcx
	cmpq	(%r15), %rcx
	jne	LBB0_7
## %bb.6:
	movl	4(%r14), %edx
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_skb_store_bits
	testq	%rax, %rax
	je	LBB0_7
LBB0_1:
	movq	_EBT_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_7:
	movq	_EBT_VERDICT_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	orl	(%r14), %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBT_DROP,4,2                   ## @EBT_DROP
	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
	.comm	_NAT_ARP_BIT,4,2                ## @NAT_ARP_BIT
	.comm	_ETH_P_ARP,4,2                  ## @ETH_P_ARP
	.comm	_EBT_VERDICT_BITS,4,2           ## @EBT_VERDICT_BITS
	.no_dead_strip	_ebt_snat_tg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ebt_snat_tg
_ebt_snat_tg:                           ; @ebt_snat_tg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x20, [x1]
	mov	w1, #0
	bl	_skb_make_writable
	cbz	w0, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_eth_hdr
	ldr	w0, [x0, #8]
	ldr	w1, [x20, #4]
Lloh0:
	adrp	x21, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ETH_ALEN@GOTPAGEOFF]
	ldr	x2, [x21]
	bl	_memcpy
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _NAT_ARP_BIT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NAT_ARP_BIT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.2:
	mov	x0, x19
	bl	_eth_hdr
	ldr	x22, [x0]
Lloh5:
	adrp	x8, _ETH_P_ARP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETH_P_ARP@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_htons
	cmp	x22, x0
	b.ne	LBB0_7
; %bb.3:
	add	x3, sp, #8
	mov	x0, x19
	mov	w1, #0
	mov	w2, #8
	bl	_skb_header_pointer
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x3, [x0]
	ldr	x8, [x21]
	cmp	x3, x8
	b.ne	LBB0_7
; %bb.5:
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #8
	bl	_skb_store_bits
	cbz	x0, LBB0_7
LBB0_6:
Lloh8:
	adrp	x8, _EBT_DROP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EBT_DROP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_8
LBB0_7:
	ldr	w8, [x20]
Lloh11:
	adrp	x9, _EBT_VERDICT_BITS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _EBT_VERDICT_BITS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orn	w0, w8, w9
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EBT_DROP,4,2                   ; @EBT_DROP
	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
	.comm	_NAT_ARP_BIT,4,2                ; @NAT_ARP_BIT
	.comm	_ETH_P_ARP,4,2                  ; @ETH_P_ARP
	.comm	_EBT_VERDICT_BITS,4,2           ; @EBT_VERDICT_BITS
	.no_dead_strip	_ebt_snat_tg
.subsections_via_symbols
