	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tproxy_tg4_check
_tproxy_tg4_check:                      ## @tproxy_tg4_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
LBB0_2:
	movq	_IPT_INV_PROTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%rax)
	je	LBB0_3
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_IPT_INV_PROTO,4,2              ## @IPT_INV_PROTO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xt_TPROXY: Can be used only in combination with either -p tcp or -p udp\n"

	.no_dead_strip	_tproxy_tg4_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tproxy_tg4_check
_tproxy_tg4_check:                      ; @tproxy_tg4_check
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _IPPROTO_TCP@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IPPROTO_TCP@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _IPPROTO_UDP@GOTPAGE
Lloh4:
	ldr	x11, [x11, _IPPROTO_UDP@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x8, #8]
Lloh6:
	adrp	x9, _IPT_INV_PROTO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IPT_INV_PROTO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_IPT_INV_PROTO,4,2              ; @IPT_INV_PROTO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xt_TPROXY: Can be used only in combination with either -p tcp or -p udp\n"

	.no_dead_strip	_tproxy_tg4_check
.subsections_via_symbols
