	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iprange_mt4
_iprange_mt4:                           ## @iprange_mt4
	.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	(%rsi), %rbx
	callq	_ip_hdr
	movq	%rax, %r14
	movl	(%rbx), %eax
	movq	_IPRANGE_SRC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movl	4(%r14), %edi
	callq	_ntohl
	movq	%rax, %r15
	movl	16(%rbx), %edi
	callq	_ntohl
	cmpq	%rax, %r15
	setl	%r12b
	movl	4(%r14), %edi
	callq	_ntohl
	movq	%rax, %r15
	movl	12(%rbx), %edi
	callq	_ntohl
	cmpq	%rax, %r15
	setg	%dl
	orb	%r12b, %dl
	movl	(%rbx), %eax
	movq	_IPRANGE_SRC_INV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testl	%eax, %esi
	setne	%cl
	cmpb	%cl, %dl
	je	LBB0_3
## %bb.2:
	addq	$4, %r14
	addq	$12, %rbx
	testl	%eax, %esi
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmovneq	%rax, %rdx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rcx
	jmp	LBB0_6
LBB0_3:
	movq	_IPRANGE_DST@GOTPCREL(%rip), %rcx
	movl	$1, %r15d
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.4:
	movl	(%r14), %edi
	callq	_ntohl
	movq	%rax, %r12
	movl	8(%rbx), %edi
	callq	_ntohl
	cmpq	%rax, %r12
	setl	%r13b
	movl	(%r14), %edi
	callq	_ntohl
	movq	%rax, %r12
	movl	4(%rbx), %edi
	callq	_ntohl
	cmpq	%rax, %r12
	setg	%cl
	orb	%r13b, %cl
	movq	_IPRANGE_DST_INV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	setne	%dl
	cmpb	%dl, %cl
	je	LBB0_7
## %bb.5:
	leaq	8(%rbx), %rcx
	addq	$4, %rbx
	testl	%eax, %eax
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmovneq	%rax, %rdx
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
LBB0_6:
	movq	%rbx, %r8
	callq	_pr_debug
	xorl	%r15d, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPRANGE_SRC,4,2                ## @IPRANGE_SRC
	.comm	_IPRANGE_SRC_INV,4,2            ## @IPRANGE_SRC_INV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"src IP %pI4 NOT in range %s%pI4-%pI4\n"

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

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

	.comm	_IPRANGE_DST,4,2                ## @IPRANGE_DST
	.comm	_IPRANGE_DST_INV,4,2            ## @IPRANGE_DST_INV
L_.str.3:                               ## @.str.3
	.asciz	"dst IP %pI4 NOT in range %s%pI4-%pI4\n"

	.no_dead_strip	_iprange_mt4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iprange_mt4
_iprange_mt4:                           ; @iprange_mt4
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x25, [x1]
	bl	_ip_hdr
	mov	x19, x0
	ldr	w8, [x25]
Lloh0:
	adrp	x9, _IPRANGE_SRC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPRANGE_SRC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	mov	x20, x19
	ldr	w0, [x20, #4]!
	bl	_ntohl
	mov	x22, x0
	ldr	w0, [x25, #16]
	bl	_ntohl
	mov	x23, x0
	ldr	w0, [x20]
	bl	_ntohl
	mov	x24, x0
	mov	x21, x25
	ldr	w0, [x21, #12]!
	bl	_ntohl
	cmp	x22, x23
	ccmp	x24, x0, #0, ge
	cset	w10, gt
	ldr	w8, [x25]
Lloh3:
	adrp	x9, _IPRANGE_SRC_INV@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPRANGE_SRC_INV@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ands	w9, w9, w8
	cset	w11, ne
	cmp	w10, w11
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, l_.str.2@PAGE
Lloh7:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh8:
	adrp	x10, l_.str.1@PAGE
Lloh9:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w9, #0
	csel	x2, x10, x8, ne
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x3, x21
	b	LBB0_6
LBB0_3:
Lloh12:
	adrp	x9, _IPRANGE_DST@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IPRANGE_DST@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.4:
	ldr	w0, [x19]
	bl	_ntohl
	mov	x22, x0
	mov	x20, x25
	ldr	w0, [x20, #8]!
	bl	_ntohl
	mov	x23, x0
	ldr	w0, [x19]
	bl	_ntohl
	mov	x24, x0
	mov	x21, x25
	ldr	w0, [x21, #4]!
	bl	_ntohl
	cmp	x22, x23
	ccmp	x24, x0, #0, ge
	cset	w9, gt
	ldr	w8, [x25]
Lloh15:
	adrp	x10, _IPRANGE_DST_INV@GOTPAGE
Lloh16:
	ldr	x10, [x10, _IPRANGE_DST_INV@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	ands	w8, w10, w8
	cset	w10, ne
	cmp	w9, w10
	b.eq	LBB0_7
; %bb.5:
Lloh18:
	adrp	x9, l_.str.2@PAGE
Lloh19:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh20:
	adrp	x10, l_.str.1@PAGE
Lloh21:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, #0
	csel	x2, x10, x9, ne
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	mov	x3, x20
LBB0_6:
	mov	x4, x21
	bl	_pr_debug
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IPRANGE_SRC,4,2                ; @IPRANGE_SRC
	.comm	_IPRANGE_SRC_INV,4,2            ; @IPRANGE_SRC_INV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"src IP %pI4 NOT in range %s%pI4-%pI4\n"

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

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

	.comm	_IPRANGE_DST,4,2                ; @IPRANGE_DST
	.comm	_IPRANGE_DST_INV,4,2            ; @IPRANGE_DST_INV
l_.str.3:                               ; @.str.3
	.asciz	"dst IP %pI4 NOT in range %s%pI4-%pI4\n"

	.no_dead_strip	_iprange_mt4
.subsections_via_symbols
