	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ebt_mark_tg_check
_ebt_mark_tg_check:                     ## @ebt_mark_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
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	movq	_EBT_VERDICT_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	movl	%ecx, %esi
	orl	%edx, %esi
	movq	_BASE_CHAIN@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	movq	_EBT_RETURN@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %esi
	jne	LBB0_2
LBB0_5:
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	testl	%esi, %esi
	jns	LBB0_5
## %bb.3:
	movq	_NUM_STANDARD_TARGETS@GOTPCREL(%rip), %r8
	xorl	%edi, %edi
	subl	(%r8), %edi
	cmpl	%edi, %esi
	jl	LBB0_5
## %bb.4:
	andl	%edx, %ecx
	movq	_MARK_SET_VALUE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	sete	%al
	movq	_MARK_OR_VALUE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	sete	%dl
	orb	%al, %dl
	movq	_MARK_AND_VALUE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	sete	%al
	movq	_MARK_XOR_VALUE@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %ecx
	sete	%cl
	orb	%al, %cl
	orb	%dl, %cl
	movzbl	%cl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBT_VERDICT_BITS,4,2           ## @EBT_VERDICT_BITS
	.comm	_BASE_CHAIN,8,3                 ## @BASE_CHAIN
	.comm	_EBT_RETURN,4,2                 ## @EBT_RETURN
	.comm	_NUM_STANDARD_TARGETS,4,2       ## @NUM_STANDARD_TARGETS
	.comm	_MARK_SET_VALUE,4,2             ## @MARK_SET_VALUE
	.comm	_MARK_OR_VALUE,4,2              ## @MARK_OR_VALUE
	.comm	_MARK_AND_VALUE,4,2             ## @MARK_AND_VALUE
	.comm	_MARK_XOR_VALUE,4,2             ## @MARK_XOR_VALUE
	.no_dead_strip	_ebt_mark_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_mark_tg_check
_ebt_mark_tg_check:                     ; @ebt_mark_tg_check
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _EBT_VERDICT_BITS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EBT_VERDICT_BITS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orn	w10, w8, w9
Lloh3:
	adrp	x11, _BASE_CHAIN@GOTPAGE
Lloh4:
	ldr	x11, [x11, _BASE_CHAIN@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
Lloh6:
	adrp	x12, _EBT_RETURN@GOTPAGE
Lloh7:
	ldr	x12, [x12, _EBT_RETURN@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
	cmp	x11, #0
	mov	w0, #0
	ccmp	w10, w12, #0, ne
	b.eq	LBB0_4
; %bb.1:
	tbz	w10, #31, LBB0_4
; %bb.2:
Lloh9:
	adrp	x11, _NUM_STANDARD_TARGETS@GOTPAGE
Lloh10:
	ldr	x11, [x11, _NUM_STANDARD_TARGETS@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	neg	w11, w11
	cmp	w10, w11
	b.lt	LBB0_4
; %bb.3:
	mvn	w9, w9
	and	w8, w8, w9
Lloh12:
	adrp	x9, _MARK_SET_VALUE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MARK_SET_VALUE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _MARK_OR_VALUE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _MARK_OR_VALUE@GOTPAGEOFF]
	cmp	w8, w9
Lloh17:
	ldr	w9, [x10]
	ccmp	w8, w9, #4, ne
Lloh18:
	adrp	x9, _MARK_AND_VALUE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MARK_AND_VALUE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	ccmp	w8, w9, #4, ne
Lloh21:
	adrp	x9, _MARK_XOR_VALUE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MARK_XOR_VALUE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	ccmp	w8, w9, #4, ne
	cset	w0, eq
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EBT_VERDICT_BITS,4,2           ; @EBT_VERDICT_BITS
	.comm	_BASE_CHAIN,8,3                 ; @BASE_CHAIN
	.comm	_EBT_RETURN,4,2                 ; @EBT_RETURN
	.comm	_NUM_STANDARD_TARGETS,4,2       ; @NUM_STANDARD_TARGETS
	.comm	_MARK_SET_VALUE,4,2             ; @MARK_SET_VALUE
	.comm	_MARK_OR_VALUE,4,2              ; @MARK_OR_VALUE
	.comm	_MARK_AND_VALUE,4,2             ; @MARK_AND_VALUE
	.comm	_MARK_XOR_VALUE,4,2             ; @MARK_XOR_VALUE
	.no_dead_strip	_ebt_mark_tg_check
.subsections_via_symbols
