	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_run                            ## -- Begin function run
	.p2align	4, 0x90
_run:                                   ## @run
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_buff@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_stdin@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	$1000000, %esi                  ## imm = 0xF4240
	callq	_fgets
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	_mode@GOTPCREL(%rip), %r15
	movq	_stderr@GOTPCREL(%rip), %rbx
	movabsq	$34359747584, %r13              ## imm = 0x800002400
                                        ## implicit-def: $eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_init_parse
	movq	(%r12), %rdi
	movl	(%rdi), %eax
	cmpq	$35, %rax
	ja	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	btq	%rax, %r13
	jae	LBB0_8
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edx
	movl	$1000000, %esi                  ## imm = 0xF4240
	callq	_fgets
	testl	%eax, %eax
	jne	LBB0_2
	jmp	LBB0_5
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %eax
	cmpl	$2, %eax
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %eax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_parse_ip
	movl	%eax, -48(%rbp)
	xorl	%eax, %eax
	callq	_end_parse
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_parse_ip
	movl	%eax, -44(%rbp)
	xorl	%eax, %eax
	callq	_end_parse
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movl	-48(%rbp), %ebx
	xorl	%eax, %eax
	callq	_parse_int
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_end_parse
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movl	-44(%rbp), %ebx
	xorl	%eax, %eax
	callq	_parse_int
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	movq	_stderr@GOTPCREL(%rip), %rbx
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_end_parse
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_parse_country
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %edi
	callq	_assert
	xorl	%eax, %eax
	callq	_end_parse
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_parse_string
	movl	%eax, %edi
	callq	_assert
	jmp	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_parse_ip
	movl	%eax, -48(%rbp)
	xorl	%eax, %eax
	callq	_end_parse
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_parse_ip
	movl	%eax, -44(%rbp)
	xorl	%eax, %eax
	callq	_end_parse
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_parse_country
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_assert
	xorl	%eax, %eax
	callq	_end_parse
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_parse_country
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_end_parse
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_skip_parse
	xorl	%edi, %edi
	cmpl	$6, %eax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_end_parse
	movl	%eax, %edi
	callq	_assert
	shll	$16, %ebx
	addl	-56(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_stderr@GOTPCREL(%rip), %rbx
	jmp	LBB0_17
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	callq	_parse_ip_mask
	xorl	%eax, %eax
	callq	_end_parse
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_parse_int
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_end_parse
	movl	%eax, %edi
	jmp	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_assert
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movl	-48(%rbp), %edx
	movl	%edx, %eax
	movzbl	%dh, %ecx
	movl	%ecx, %r8d
	movzbl	%dl, %r9d
	shrl	$24, %edx
	shrl	$16, %eax
	movzbl	%al, %ecx
	movl	-44(%rbp), %eax
	movl	%eax, %esi
	movzbl	%ah, %ebx
	movzbl	%al, %r10d
	movl	%eax, %r11d
	shrl	$24, %r11d
	shrl	$16, %esi
	movzbl	%sil, %r15d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	pushq	%rbx
	pushq	%r15
	movq	_mode@GOTPCREL(%rip), %r15
	movq	_stderr@GOTPCREL(%rip), %rbx
	pushq	%r11
	callq	_fprintf
	addq	$48, %rsp
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edx
	movl	%edx, %r8d
	subl	%esi, %r8d
	movq	_root@GOTPCREL(%rip), %rdi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_add
	movq	_rules@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	(%r12), %rdi
	jmp	LBB0_4
LBB0_5:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_stderr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_rules@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %edi
	movq	_total@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_7:
	movq	_root@GOTPCREL(%rip), %rdi
	callq	_pack
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_buff,8,3                       ## @buff
	.comm	_stdin,4,2                      ## @stdin
	.comm	_mode,4,2                       ## @mode
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"add: start_ip = %u.%u.%u.%u, end_ip = %u.%u.%u.%u, color = %d\n"

	.comm	_root,4,2                       ## @root
	.comm	_rules,4,2                      ## @rules
L_.str.1:                               ## @.str.1
	.asciz	"total %d rules\n"

L_.str.2:                               ## @.str.2
	.asciz	"total %d vertices\n"

	.comm	_total,4,2                      ## @total
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_run                            ; -- Begin function run
	.p2align	2
_run:                                   ; @run
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
Lloh0:
	adrp	x24, _buff@GOTPAGE
Lloh1:
	ldr	x24, [x24, _buff@GOTPAGEOFF]
	ldr	x0, [x24]
Lloh2:
	adrp	x25, _stdin@GOTPAGE
Lloh3:
	ldr	x25, [x25, _stdin@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	w1, #16960
	movk	w1, #15, lsl #16
	bl	_fgets
Lloh4:
	adrp	x27, _verbosity@GOTPAGE
Lloh5:
	ldr	x27, [x27, _verbosity@GOTPAGEOFF]
Lloh6:
	adrp	x23, _stderr@GOTPAGE
Lloh7:
	ldr	x23, [x23, _stderr@GOTPAGEOFF]
Lloh8:
	adrp	x26, _rules@GOTPAGE
Lloh9:
	ldr	x26, [x26, _rules@GOTPAGEOFF]
	cbz	w0, LBB0_15
; %bb.1:
	mov	w28, #1
	mov	x20, #9216
	movk	x20, #8, lsl #32
Lloh10:
	adrp	x22, _mode@GOTPAGE
Lloh11:
	ldr	x22, [x22, _mode@GOTPAGEOFF]
Lloh12:
	adrp	x19, _root@GOTPAGE
Lloh13:
	ldr	x19, [x19, _root@GOTPAGEOFF]
                                        ; implicit-def: $w21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_init_parse
	ldr	x0, [x24]
	ldr	w8, [x0]
	cmp	w8, #35
	lsl	x8, x28, x8
	and	x8, x8, x20
	ccmp	x8, #0, #4, ls
	b.eq	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w2, [x25]
	mov	w1, #16960
	movk	w1, #15, lsl #16
	bl	_fgets
	cbnz	w0, LBB0_2
	b	LBB0_15
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22]
	cmp	w8, #2
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #1
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w8, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_parse_ip
	str	w0, [sp, #76]
	bl	_end_parse
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	bl	_parse_ip
	str	w0, [sp, #72]
	bl	_end_parse
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	w21, [sp, #76]
	bl	_parse_int
	cmp	w21, w0
	cset	w0, eq
	bl	_assert
	bl	_end_parse
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	w21, [sp, #72]
	bl	_parse_int
	cmp	w21, w0
	cset	w0, eq
	bl	_assert
	bl	_end_parse
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	bl	_parse_country
	mov	x21, x0
	bl	_assert
	bl	_end_parse
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	bl	_parse_string
	bl	_assert
	bl	_end_parse
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_parse_ip
	str	w0, [sp, #76]
	bl	_end_parse
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	bl	_parse_ip
	str	w0, [sp, #72]
	bl	_end_parse
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	bl	_parse_country
	mov	x21, x0
	bl	_assert
	bl	_end_parse
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	bl	_parse_country
	mov	x19, x22
	mov	x22, x0
	bl	_end_parse
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	bl	_skip_parse
	cmp	w0, #6
	cset	w0, eq
	bl	_assert
	bl	_end_parse
	bl	_assert
	add	w21, w22, w21, lsl #16
	mov	x22, x19
Lloh14:
	adrp	x19, _root@GOTPAGE
Lloh15:
	ldr	x19, [x19, _root@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #76
	add	x1, sp, #72
	bl	_parse_ip_mask
	bl	_end_parse
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	bl	_parse_int
	mov	x21, x0
	bl	_end_parse
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #0
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_assert
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x27]
	cmp	w8, #3
	b.lt	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x23]
	ldp	w11, w8, [sp, #72]
	lsr	w2, w8, #24
	ubfx	w9, w8, #16, #8
	ubfx	w10, w8, #8, #8
	and	w8, w8, #0xff
	lsr	w12, w11, #24
	ubfx	w13, w11, #16, #8
	ubfx	w14, w11, #8, #8
	and	w11, w11, #0xff
	stp	x11, x21, [sp, #48]
	stp	x13, x14, [sp, #32]
	stp	x8, x12, [sp, #16]
	stp	x9, x10, [sp]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w2, w1, [sp, #72]
	sub	w4, w2, w1
	mov	x0, x19
	mov	x3, x21
	bl	_add
	ldr	w8, [x26]
	add	w8, w8, #1
	str	w8, [x26]
	ldr	x0, [x24]
	b	LBB0_3
LBB0_15:
	ldr	w8, [x27]
	cbz	w8, LBB0_17
; %bb.16:
	ldr	w0, [x23]
	ldr	w2, [x26]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	ldr	w0, [x23]
Lloh20:
	adrp	x8, _total@GOTPAGE
Lloh21:
	ldr	x8, [x8, _total@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
LBB0_17:
Lloh25:
	adrp	x0, _root@GOTPAGE
Lloh26:
	ldr	x0, [x0, _root@GOTPAGEOFF]
	bl	_pack
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_buff,8,3                       ; @buff
	.comm	_stdin,4,2                      ; @stdin
	.comm	_mode,4,2                       ; @mode
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"add: start_ip = %u.%u.%u.%u, end_ip = %u.%u.%u.%u, color = %d\n"

	.comm	_root,4,2                       ; @root
	.comm	_rules,4,2                      ; @rules
l_.str.1:                               ; @.str.1
	.asciz	"total %d rules\n"

l_.str.2:                               ; @.str.2
	.asciz	"total %d vertices\n"

	.comm	_total,4,2                      ; @total
.subsections_via_symbols
