	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_packet_match
_ip_packet_match:                       ## @ip_packet_match
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rdi, %r14
	movl	(%rcx), %eax
	movl	40(%rcx), %ecx
	andl	(%rdi), %ecx
	cmpl	36(%rbx), %ecx
	setne	%cl
	movq	_IPT_INV_SRCIP@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	setne	%dl
	xorb	%cl, %dl
	jne	LBB0_2
## %bb.1:
	movl	32(%rbx), %ecx
	andl	4(%r14), %ecx
	cmpl	28(%rbx), %ecx
	setne	%cl
	movq	_IPT_INV_DSTIP@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	setne	%al
	cmpb	%al, %cl
	je	LBB0_3
LBB0_2:
	leaq	40(%rbx), %r13
	leaq	36(%rbx), %r15
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintf
	movl	(%r12), %eax
	andl	(%rbx), %eax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %r12
	movq	%r12, %r8
	cmoveq	%rax, %r8
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_dprintf
	addq	$4, %r14
	leaq	32(%rbx), %rdx
	leaq	28(%rbx), %rcx
	movq	_IPT_INV_DSTIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	movl	$0, %ebx
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %r12
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_dprintf
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rsi, %r13
	movl	%r8d, %r12d
	movl	20(%rbx), %esi
	movl	24(%rbx), %edx
	movq	%r13, %rdi
	callq	_ifname_compare_aligned
	testq	%rax, %rax
	setne	%cl
	movq	_IPT_INV_VIA_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	setne	%dl
	cmpb	%dl, %cl
	je	LBB0_6
## %bb.4:
	testl	%eax, %eax
	movl	20(%rbx), %edx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmovneq	%rax, %rcx
	leaq	L_.str.5(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r13, %rsi
	jmp	LBB0_5
LBB0_6:
	movl	12(%rbx), %esi
	movl	16(%rbx), %edx
	movq	%r15, %rdi
	callq	_ifname_compare_aligned
	testq	%rax, %rax
	setne	%dl
	movl	(%rbx), %edi
	movq	_IPT_INV_VIA_OUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%edi, %ecx
	setne	%al
	cmpb	%al, %dl
	je	LBB0_8
## %bb.7:
	testl	%edi, %ecx
	movl	12(%rbx), %edx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmovneq	%rax, %rcx
	leaq	L_.str.6(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r15, %rsi
LBB0_5:
	xorl	%eax, %eax
	callq	_dprintf
	jmp	LBB0_13
LBB0_8:
	movl	8(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_11
## %bb.9:
	movl	8(%r14), %esi
	cmpl	%edx, %esi
	setne	%r8b
	movq	_IPT_INV_PROTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%edi, %ecx
	setne	%al
	cmpb	%al, %r8b
	je	LBB0_11
## %bb.10:
	testl	%edi, %ecx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmovneq	%rax, %rcx
	leaq	L_.str.7(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dprintf
	jmp	LBB0_13
LBB0_11:
	movq	_IPT_F_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	setne	%al
	testl	%r12d, %r12d
	sete	%dl
	andb	%al, %dl
	movq	_IPT_INV_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%edi, %ecx
	setne	%al
	movl	$1, %ebx
	cmpb	%al, %dl
	je	LBB0_13
## %bb.12:
	testl	%edi, %ecx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rsi
	cmovneq	%rax, %rsi
	leaq	L_.str.8(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dprintf
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_IPT_INV_SRCIP,4,2              ## @IPT_INV_SRCIP
	.comm	_IPT_INV_DSTIP,4,2              ## @IPT_INV_DSTIP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Source or dest mismatch.\n"

L_.str.1:                               ## @.str.1
	.asciz	"SRC: %pI4. Mask: %pI4. Target: %pI4.%s\n"

L_.str.2:                               ## @.str.2
	.asciz	" (INV)"

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	"DST: %pI4 Mask: %pI4 Target: %pI4.%s\n"

	.comm	_IPT_INV_VIA_IN,4,2             ## @IPT_INV_VIA_IN
L_.str.5:                               ## @.str.5
	.asciz	"VIA in mismatch (%s vs %s).%s\n"

	.comm	_IPT_INV_VIA_OUT,4,2            ## @IPT_INV_VIA_OUT
L_.str.6:                               ## @.str.6
	.asciz	"VIA out mismatch (%s vs %s).%s\n"

	.comm	_IPT_INV_PROTO,4,2              ## @IPT_INV_PROTO
L_.str.7:                               ## @.str.7
	.asciz	"Packet protocol %hi does not match %hi.%s\n"

	.comm	_IPT_F_FRAG,4,2                 ## @IPT_F_FRAG
	.comm	_IPT_INV_FRAG,4,2               ## @IPT_INV_FRAG
L_.str.8:                               ## @.str.8
	.asciz	"Fragment rule but not fragment.%s\n"

	.no_dead_strip	_ip_packet_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_packet_match
_ip_packet_match:                       ; @ip_packet_match
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x0
	ldr	w8, [x0]
	mov	x24, x3
	ldr	w9, [x24, #40]!
	mov	x25, x3
	ldr	w10, [x25, #36]!
	and	w8, w9, w8
	cmp	w8, w10
	cset	w9, ne
	ldr	w8, [x3]
Lloh0:
	adrp	x27, _IPT_INV_SRCIP@GOTPAGE
Lloh1:
	ldr	x27, [x27, _IPT_INV_SRCIP@GOTPAGEOFF]
	ldr	w10, [x27]
	tst	w10, w8
	cset	w10, ne
	eor	w9, w9, w10
Lloh2:
	adrp	x26, _IPT_INV_DSTIP@GOTPAGE
Lloh3:
	ldr	x26, [x26, _IPT_INV_DSTIP@GOTPAGEOFF]
	tbnz	w9, #0, LBB0_2
; %bb.1:
	ldr	w9, [x20, #4]
	ldp	w11, w10, [x19, #28]
	and	w9, w10, w9
	cmp	w9, w11
	cset	w9, ne
	ldr	w10, [x26]
	tst	w10, w8
	cset	w8, ne
	cmp	w9, w8
	b.eq	LBB0_5
LBB0_2:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintf
	mov	x21, x19
	ldr	w8, [x21], #32
	ldr	w9, [x27]
Lloh6:
	adrp	x22, l_.str.2@PAGE
Lloh7:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh8:
	adrp	x23, l_.str.3@PAGE
Lloh9:
	add	x23, x23, l_.str.3@PAGEOFF
	tst	w9, w8
	csel	x8, x23, x22, eq
	stp	x25, x8, [sp, #16]
	stp	x20, x24, [sp]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintf
	add	x8, x20, #4
	ldr	w9, [x19], #28
	ldr	w10, [x26]
	tst	w10, w9
	csel	x9, x23, x22, eq
	stp	x19, x9, [sp, #16]
	stp	x8, x21, [sp]
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_3:
	bl	_dprintf
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_5:
	mov	x21, x4
	mov	x22, x2
	mov	x23, x1
	ldp	w1, w2, [x19, #20]
	mov	x0, x23
	bl	_ifname_compare_aligned
	cmp	x0, #0
	cset	w9, ne
	ldr	w8, [x19]
Lloh14:
	adrp	x10, _IPT_INV_VIA_IN@GOTPAGE
Lloh15:
	ldr	x10, [x10, _IPT_INV_VIA_IN@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	ands	w8, w10, w8
	cset	w10, ne
	cmp	w9, w10
	b.eq	LBB0_7
; %bb.6:
Lloh17:
	adrp	x9, l_.str.3@PAGE
Lloh18:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh19:
	adrp	x10, l_.str.2@PAGE
Lloh20:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w8, #0
	csel	x8, x10, x9, ne
	ldr	w9, [x19, #20]
	stp	x9, x8, [sp, #8]
	str	x23, [sp]
Lloh21:
	adrp	x0, l_.str.5@PAGE
Lloh22:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_3
LBB0_7:
	ldp	w1, w2, [x19, #12]
	mov	x0, x22
	bl	_ifname_compare_aligned
	cmp	x0, #0
	cset	w10, ne
	ldr	w8, [x19]
Lloh23:
	adrp	x9, _IPT_INV_VIA_OUT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IPT_INV_VIA_OUT@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	ands	w9, w9, w8
	cset	w11, ne
	cmp	w10, w11
	b.eq	LBB0_9
; %bb.8:
Lloh26:
	adrp	x8, l_.str.3@PAGE
Lloh27:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh28:
	adrp	x10, l_.str.2@PAGE
Lloh29:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w9, #0
	csel	x8, x10, x8, ne
	ldr	w9, [x19, #12]
	stp	x9, x8, [sp, #8]
	str	x22, [sp]
Lloh30:
	adrp	x0, l_.str.6@PAGE
Lloh31:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_3
LBB0_9:
	ldr	w9, [x19, #8]
	cbz	w9, LBB0_12
; %bb.10:
	ldr	w10, [x20, #8]
	cmp	w10, w9
	cset	w12, ne
Lloh32:
	adrp	x11, _IPT_INV_PROTO@GOTPAGE
Lloh33:
	ldr	x11, [x11, _IPT_INV_PROTO@GOTPAGEOFF]
Lloh34:
	ldr	w11, [x11]
	ands	w11, w11, w8
	cset	w13, ne
	cmp	w12, w13
	b.eq	LBB0_12
; %bb.11:
Lloh35:
	adrp	x8, l_.str.3@PAGE
Lloh36:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh37:
	adrp	x12, l_.str.2@PAGE
Lloh38:
	add	x12, x12, l_.str.2@PAGEOFF
	cmp	w11, #0
	csel	x8, x12, x8, ne
	stp	x10, x9, [sp]
	str	x8, [sp, #16]
Lloh39:
	adrp	x0, l_.str.7@PAGE
Lloh40:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_3
LBB0_12:
	ldr	w9, [x19, #4]
Lloh41:
	adrp	x10, _IPT_F_FRAG@GOTPAGE
Lloh42:
	ldr	x10, [x10, _IPT_F_FRAG@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
	tst	w10, w9
	ccmp	w21, #0, #0, ne
	cset	w9, eq
Lloh44:
	adrp	x10, _IPT_INV_FRAG@GOTPAGE
Lloh45:
	ldr	x10, [x10, _IPT_INV_FRAG@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	ands	w8, w10, w8
	cset	w10, ne
	cmp	w9, w10
	b.eq	LBB0_14
; %bb.13:
Lloh47:
	adrp	x9, l_.str.3@PAGE
Lloh48:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh49:
	adrp	x10, l_.str.2@PAGE
Lloh50:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w8, #0
	csel	x8, x10, x9, ne
	str	x8, [sp]
Lloh51:
	adrp	x0, l_.str.8@PAGE
Lloh52:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_3
LBB0_14:
	mov	w0, #1
	b	LBB0_4
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_IPT_INV_SRCIP,4,2              ; @IPT_INV_SRCIP
	.comm	_IPT_INV_DSTIP,4,2              ; @IPT_INV_DSTIP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Source or dest mismatch.\n"

l_.str.1:                               ; @.str.1
	.asciz	"SRC: %pI4. Mask: %pI4. Target: %pI4.%s\n"

l_.str.2:                               ; @.str.2
	.asciz	" (INV)"

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	"DST: %pI4 Mask: %pI4 Target: %pI4.%s\n"

	.comm	_IPT_INV_VIA_IN,4,2             ; @IPT_INV_VIA_IN
l_.str.5:                               ; @.str.5
	.asciz	"VIA in mismatch (%s vs %s).%s\n"

	.comm	_IPT_INV_VIA_OUT,4,2            ; @IPT_INV_VIA_OUT
l_.str.6:                               ; @.str.6
	.asciz	"VIA out mismatch (%s vs %s).%s\n"

	.comm	_IPT_INV_PROTO,4,2              ; @IPT_INV_PROTO
l_.str.7:                               ; @.str.7
	.asciz	"Packet protocol %hi does not match %hi.%s\n"

	.comm	_IPT_F_FRAG,4,2                 ; @IPT_F_FRAG
	.comm	_IPT_INV_FRAG,4,2               ; @IPT_INV_FRAG
l_.str.8:                               ; @.str.8
	.asciz	"Fragment rule but not fragment.%s\n"

	.no_dead_strip	_ip_packet_match
.subsections_via_symbols
