	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ebt_dnat_tg_check
_ebt_dnat_tg_check:                     ## @ebt_dnat_tg_check
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_BASE_CHAIN@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	movq	_EBT_RETURN@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_7
LBB0_2:
	movq	_NF_BR_NUMHOOKS@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movl	(%rbx), %r14d
	btrl	%eax, %r14d
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_NF_BR_PRE_ROUTING@GOTPCREL(%rip), %rax
	movq	_NF_BR_LOCAL_OUT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movb	(%rax), %al
	btsl	%eax, %edx
	notl	%edx
	testl	%edx, %r14d
	je	LBB0_6
LBB0_4:
	movl	4(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_7
## %bb.5:
	movq	_NF_BR_BROUTING@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btrl	%ecx, %r14d
	testl	%r14d, %r14d
	jne	LBB0_7
LBB0_6:
	movq	_INVALID_TARGET@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	sete	%al
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BASE_CHAIN,8,3                 ## @BASE_CHAIN
	.comm	_EBT_RETURN,8,3                 ## @EBT_RETURN
	.comm	_NF_BR_NUMHOOKS,4,2             ## @NF_BR_NUMHOOKS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nat"

	.comm	_NF_BR_PRE_ROUTING,4,2          ## @NF_BR_PRE_ROUTING
	.comm	_NF_BR_LOCAL_OUT,4,2            ## @NF_BR_LOCAL_OUT
L_.str.1:                               ## @.str.1
	.asciz	"broute"

	.comm	_NF_BR_BROUTING,4,2             ## @NF_BR_BROUTING
	.comm	_INVALID_TARGET,8,3             ## @INVALID_TARGET
	.no_dead_strip	_ebt_dnat_tg_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ebt_dnat_tg_check
_ebt_dnat_tg_check:                     ; @ebt_dnat_tg_check
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _BASE_CHAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BASE_CHAIN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _EBT_RETURN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EBT_RETURN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
LBB0_2:
Lloh6:
	adrp	x8, _NF_BR_NUMHOOKS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NF_BR_NUMHOOKS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	w21, #1
	lsl	w8, w21, w8
	ldp	w9, w0, [x19]
	bic	w20, w9, w8
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _NF_BR_PRE_ROUTING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NF_BR_PRE_ROUTING@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	lsl	w8, w21, w8
Lloh14:
	adrp	x9, _NF_BR_LOCAL_OUT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _NF_BR_LOCAL_OUT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w8, w9, w8
	bics	wzr, w20, w8
	b.eq	LBB0_8
LBB0_4:
	ldr	w0, [x19, #4]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_6
; %bb.5:
Lloh19:
	adrp	x8, _NF_BR_BROUTING@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NF_BR_BROUTING@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	bics	wzr, w20, w8
	b.eq	LBB0_8
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh22:
	adrp	x8, _INVALID_TARGET@GOTPAGE
Lloh23:
	ldr	x8, [x8, _INVALID_TARGET@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, eq
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_BASE_CHAIN,8,3                 ; @BASE_CHAIN
	.comm	_EBT_RETURN,8,3                 ; @EBT_RETURN
	.comm	_NF_BR_NUMHOOKS,4,2             ; @NF_BR_NUMHOOKS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nat"

	.comm	_NF_BR_PRE_ROUTING,4,2          ; @NF_BR_PRE_ROUTING
	.comm	_NF_BR_LOCAL_OUT,4,2            ; @NF_BR_LOCAL_OUT
l_.str.1:                               ; @.str.1
	.asciz	"broute"

	.comm	_NF_BR_BROUTING,4,2             ; @NF_BR_BROUTING
	.comm	_INVALID_TARGET,8,3             ; @INVALID_TARGET
	.no_dead_strip	_ebt_dnat_tg_check
.subsections_via_symbols
