	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ebt_ip_mt_check
_ebt_ip_mt_check:                       ## @ebt_ip_mt_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	8(%rdi), %r14
	movq	(%rbx), %r15
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %r15
	jne	LBB0_16
## %bb.1:
	movq	_EBT_IPROTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%rbx)
	jne	LBB0_16
## %bb.2:
	movl	(%r14), %ecx
	movq	_EBT_IP_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	testl	%edx, %ecx
	jne	LBB0_16
## %bb.3:
	movl	4(%r14), %edi
	testl	%edx, %edi
	je	LBB0_4
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_EBT_IP_DPORT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_EBT_IP_SPORT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	movl	%ebx, %edx
	orl	%esi, %edx
	testl	%ecx, %edx
	je	LBB0_11
## %bb.5:
	movq	_EBT_IP_PROTO@GOTPCREL(%rip), %rdx
	testl	%edi, (%rdx)
	jne	LBB0_16
## %bb.6:
	movq	8(%r14), %rdi
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	je	LBB0_11
## %bb.7:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	je	LBB0_11
## %bb.8:
	movq	_IPPROTO_UDPLITE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	je	LBB0_11
## %bb.9:
	movq	_IPPROTO_SCTP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	je	LBB0_11
## %bb.10:
	movq	_IPPROTO_DCCP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	jne	LBB0_16
LBB0_11:
	testl	%ecx, %esi
	je	LBB0_13
## %bb.12:
	movq	16(%r14), %rdx
	movq	(%rdx), %rsi
	cmpq	8(%rdx), %rsi
	jg	LBB0_16
LBB0_13:
	testl	%ecx, %ebx
	je	LBB0_15
## %bb.14:
	movq	24(%r14), %rcx
	movq	(%rcx), %rdx
	cmpq	8(%rcx), %rdx
	jg	LBB0_16
LBB0_15:
	movl	$1, %eax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_EBT_IPROTO,4,2                 ## @EBT_IPROTO
	.comm	_EBT_IP_MASK,4,2                ## @EBT_IP_MASK
	.comm	_EBT_IP_DPORT,4,2               ## @EBT_IP_DPORT
	.comm	_EBT_IP_SPORT,4,2               ## @EBT_IP_SPORT
	.comm	_EBT_IP_PROTO,4,2               ## @EBT_IP_PROTO
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_IPPROTO_UDPLITE,8,3            ## @IPPROTO_UDPLITE
	.comm	_IPPROTO_SCTP,8,3               ## @IPPROTO_SCTP
	.comm	_IPPROTO_DCCP,8,3               ## @IPPROTO_DCCP
	.no_dead_strip	_ebt_ip_mt_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ebt_ip_mt_check
_ebt_ip_mt_check:                       ; @ebt_ip_mt_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
	ldp	x20, x19, [x0]
	ldr	x21, [x20]
Lloh0:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x21, x0
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x20, #8]
Lloh3:
	adrp	x9, _EBT_IPROTO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EBT_IPROTO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _EBT_IP_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EBT_IP_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	bics	wzr, w8, w9
	b.ne	LBB0_4
; %bb.3:
	mvn	w9, w9
	ldr	w11, [x19, #4]
	tst	w11, w9
	b.eq	LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	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_6:
Lloh9:
	adrp	x9, _EBT_IP_DPORT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EBT_IP_DPORT@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x9]
Lloh12:
	adrp	x9, _EBT_IP_SPORT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EBT_IP_SPORT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w12, w9, w10
	tst	w12, w8
	b.eq	LBB0_13
; %bb.7:
Lloh15:
	adrp	x12, _EBT_IP_PROTO@GOTPAGE
Lloh16:
	ldr	x12, [x12, _EBT_IP_PROTO@GOTPAGEOFF]
Lloh17:
	ldr	w12, [x12]
	tst	w12, w11
	b.ne	LBB0_4
; %bb.8:
	ldr	x11, [x19, #8]
Lloh18:
	adrp	x12, _IPPROTO_TCP@GOTPAGE
Lloh19:
	ldr	x12, [x12, _IPPROTO_TCP@GOTPAGEOFF]
Lloh20:
	ldr	x12, [x12]
	cmp	x11, x12
	b.eq	LBB0_13
; %bb.9:
Lloh21:
	adrp	x12, _IPPROTO_UDP@GOTPAGE
Lloh22:
	ldr	x12, [x12, _IPPROTO_UDP@GOTPAGEOFF]
Lloh23:
	ldr	x12, [x12]
	cmp	x11, x12
	b.eq	LBB0_13
; %bb.10:
Lloh24:
	adrp	x12, _IPPROTO_UDPLITE@GOTPAGE
Lloh25:
	ldr	x12, [x12, _IPPROTO_UDPLITE@GOTPAGEOFF]
Lloh26:
	ldr	x12, [x12]
	cmp	x11, x12
	b.eq	LBB0_13
; %bb.11:
Lloh27:
	adrp	x12, _IPPROTO_SCTP@GOTPAGE
Lloh28:
	ldr	x12, [x12, _IPPROTO_SCTP@GOTPAGEOFF]
Lloh29:
	ldr	x12, [x12]
	cmp	x11, x12
	b.eq	LBB0_13
; %bb.12:
Lloh30:
	adrp	x12, _IPPROTO_DCCP@GOTPAGE
Lloh31:
	ldr	x12, [x12, _IPPROTO_DCCP@GOTPAGEOFF]
Lloh32:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_4
LBB0_13:
	tst	w10, w8
	b.eq	LBB0_15
; %bb.14:
	ldr	x10, [x19, #16]
	ldp	x11, x10, [x10]
	cmp	x11, x10
	b.gt	LBB0_4
LBB0_15:
	tst	w9, w8
	b.eq	LBB0_17
; %bb.16:
	ldr	x8, [x19, #24]
	ldp	x9, x8, [x8]
	cmp	x9, x8
	b.gt	LBB0_4
LBB0_17:
	mov	w0, #1
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_EBT_IPROTO,4,2                 ; @EBT_IPROTO
	.comm	_EBT_IP_MASK,4,2                ; @EBT_IP_MASK
	.comm	_EBT_IP_DPORT,4,2               ; @EBT_IP_DPORT
	.comm	_EBT_IP_SPORT,4,2               ; @EBT_IP_SPORT
	.comm	_EBT_IP_PROTO,4,2               ; @EBT_IP_PROTO
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_IPPROTO_UDPLITE,8,3            ; @IPPROTO_UDPLITE
	.comm	_IPPROTO_SCTP,8,3               ; @IPPROTO_SCTP
	.comm	_IPPROTO_DCCP,8,3               ; @IPPROTO_DCCP
	.no_dead_strip	_ebt_ip_mt_check
.subsections_via_symbols
