	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_ip_range
_extract_ip_range:                      ## @extract_ip_range
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_INET6_ADDRSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movl	56(%r12), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_D
LBB0_2:
	movl	56(%r12), %edi
	callq	_strdup
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_D
	movl	$-1, %edi
	callq	_usage
LBB0_4:
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$45, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	incq	%r15
	movb	$0, (%rax)
	jmp	LBB0_7
LBB0_5:
	xorl	%r15d, %r15d
LBB0_7:
	leaq	48(%r12), %rdx
	movq	$1234, 48(%r12)                 ## imm = 0x4D2
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	jne	LBB0_9
## %bb.8:
	movl	$7, (%r12)
	leaq	16(%r12), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rcx
	callq	_extract_ipv6_addr
	jmp	LBB0_10
LBB0_9:
	leaq	32(%r12), %rsi
	movq	%rbx, %rdi
	callq	_extract_ipv4_addr
LBB0_10:
	movq	48(%r12), %rax
	leaq	40(%r12), %r13
	movq	%rax, 40(%r12)
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_14
## %bb.11:
	testq	%r15, %r15
	je	LBB0_13
## %bb.12:
	movl	(%r12), %eax
	leaq	4(%r12), %rcx
	movl	%eax, 4(%r12)
	leaq	8(%r12), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_extract_ipv6_addr
	jmp	LBB0_18
LBB0_14:
	testq	%r15, %r15
	je	LBB0_17
## %bb.15:
	leaq	24(%r12), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_extract_ipv4_addr
	movq	24(%r12), %rax
	movq	32(%r12), %rcx
	cmpq	%rax, %rcx
	jbe	LBB0_18
## %bb.16:
	movq	%rcx, 24(%r12)
	movq	%rax, 32(%r12)
	jmp	LBB0_18
LBB0_13:
	movq	16(%r12), %rax
	movq	%rax, 8(%r12)
	movl	(%r12), %eax
	movl	%eax, 4(%r12)
	jmp	LBB0_18
LBB0_17:
	movq	32(%r12), %rax
	movq	%rax, 24(%r12)
LBB0_18:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rax
	movq	(%r13), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_20
## %bb.19:
	movq	%rcx, (%rdx)
	movq	%rax, (%r13)
LBB0_20:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_22
## %bb.21:
	movq	32(%r12), %rdi
	callq	_htonl
	movq	%rax, -72(%rbp)
	leaq	-72(%rbp), %r15
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_inet_ntop
	movq	24(%r12), %rdi
	callq	_htonl
	movq	%rax, -72(%rbp)
	jmp	LBB0_23
LBB0_22:
	leaq	16(%r12), %rsi
	movl	%r14d, %edi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_inet_ntop
	leaq	8(%r12), %r15
LBB0_23:
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	_inet_ntop
	movq	_AF_INET@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_25
## %bb.24:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdx
	movq	(%r13), %r8
	leaq	L_.str.2(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_D
	jmp	LBB0_26
LBB0_25:
	movq	48(%r12), %rcx
	movl	(%r12), %esi
	movl	4(%r12), %r8d
	subq	$8, %rsp
	leaq	L_.str.3(%rip), %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %r9
	xorl	%eax, %eax
	pushq	40(%r12)
	callq	_D
	addq	$16, %rsp
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_26:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	(%rbx), %rax
	cmpq	(%r13), %rax
	je	LBB0_27
LBB0_31:
	movq	_OPT_COPY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_34
## %bb.33:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_29
## %bb.28:
	movq	32(%r12), %rax
	cmpq	24(%r12), %rax
	jne	LBB0_31
LBB0_29:
	xorl	%r15d, %r15d
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_32
## %bb.30:
	leaq	16(%r12), %rdi
	addq	$8, %r12
	movq	%r12, %rsi
	callq	_IN6_ARE_ADDR_EQUAL
	testl	%eax, %eax
	jne	LBB0_32
	jmp	LBB0_31
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
	.comm	_verbose,8,3                    ## @verbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"extract IP range from %s"

L_.str.1:                               ## @.str.1
	.asciz	"strdup failed"

	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_AF_INET,4,2                    ## @AF_INET
L_.str.2:                               ## @.str.2
	.asciz	"range is %s:%d to %s:%d"

L_.str.3:                               ## @.str.3
	.asciz	"range is %d@[%s]:%d to %d@[%s]:%d"

	.comm	_OPT_COPY,4,2                   ## @OPT_COPY
	.no_dead_strip	_extract_ip_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_ip_range
_extract_ip_range:                      ; @extract_ip_range
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _INET6_ADDRSTRLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INET6_ADDRSTRLEN@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x12, x9, #0x1fffffff0
	sub	x21, x8, x12
	mov	sp, x21
	mov	x9, x24
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x12
	mov	sp, x22
Lloh10:
	adrp	x8, _verbose@GOTPAGE
Lloh11:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x19, #56]
	str	x8, [sp, #-16]!
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D
	add	sp, sp, #16
LBB0_2:
	ldr	w0, [x19, #56]
	bl	_strdup
	mov	x23, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_D
	mov	w0, #-1
	bl	_usage
LBB0_4:
	mov	x0, x23
	mov	w1, #45
	bl	_strchr
	mov	x27, x0
	cbz	x0, LBB0_6
; %bb.5:
	strb	wzr, [x27], #1
LBB0_6:
	mov	w8, #1234
	mov	x25, x19
	str	x8, [x25, #48]!
Lloh17:
	adrp	x28, _AF_INET6@GOTPAGE
Lloh18:
	ldr	x28, [x28, _AF_INET6@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w8, w20
	b.ne	LBB0_8
; %bb.7:
	mov	w8, #7
	mov	x1, x19
	str	w8, [x1], #16
	mov	x0, x23
	mov	x2, x25
	mov	x3, x19
	bl	_extract_ipv6_addr
	b	LBB0_9
LBB0_8:
	add	x1, x19, #32
	mov	x0, x23
	mov	x2, x25
	bl	_extract_ipv4_addr
LBB0_9:
	ldr	x8, [x19, #48]
	mov	x26, x19
	str	x8, [x26, #40]!
	ldr	w8, [x28]
	cmp	w8, w20
	b.ne	LBB0_12
; %bb.10:
	cbz	x27, LBB0_15
; %bb.11:
	ldr	w8, [x19]
	mov	x3, x19
	str	w8, [x3, #4]!
	add	x1, x3, #4
	mov	x0, x27
	mov	x2, x26
	bl	_extract_ipv6_addr
	b	LBB0_17
LBB0_12:
	cbz	x27, LBB0_16
; %bb.13:
	add	x1, x19, #24
	mov	x0, x27
	mov	x2, x26
	bl	_extract_ipv4_addr
	ldp	x9, x8, [x19, #24]
	cmp	x8, x9
	b.ls	LBB0_17
; %bb.14:
	stp	x8, x9, [x19, #24]
	b	LBB0_17
LBB0_15:
	ldr	x8, [x19, #16]
	str	x8, [x19, #8]
	ldr	w8, [x19]
	str	w8, [x19, #4]
	b	LBB0_17
LBB0_16:
	ldr	x8, [x19, #32]
	str	x8, [x19, #24]
LBB0_17:
	ldr	x8, [x25]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ls	LBB0_19
; %bb.18:
	str	x9, [x25]
	str	x8, [x26]
LBB0_19:
Lloh19:
	adrp	x28, _AF_INET@GOTPAGE
Lloh20:
	ldr	x28, [x28, _AF_INET@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w8, w20
	b.ne	LBB0_21
; %bb.20:
	ldr	x0, [x19, #32]
	bl	_htonl
	stur	x0, [x29, #-96]
	sub	x27, x29, #96
	sub	x1, x29, #96
	mov	x0, x20
	mov	x2, x21
	mov	x3, x24
	bl	_inet_ntop
	ldr	x0, [x19, #24]
	bl	_htonl
	stur	x0, [x29, #-96]
	b	LBB0_22
LBB0_21:
	add	x1, x19, #16
	mov	x0, x20
	mov	x2, x21
	mov	x3, x24
	bl	_inet_ntop
	add	x27, x19, #8
LBB0_22:
	mov	x0, x20
	mov	x1, x27
	mov	x2, x22
	mov	x3, x24
	bl	_inet_ntop
	ldr	w8, [x28]
	cmp	w8, w20
	b.ne	LBB0_24
; %bb.23:
	ldr	x8, [x25]
	ldr	x9, [x26]
	sub	sp, sp, #32
	stp	x22, x9, [sp, #16]
	stp	x21, x8, [sp]
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_D
	add	sp, sp, #32
	b	LBB0_25
LBB0_24:
	ldp	x9, x8, [x19, #40]
	ldp	w10, w11, [x19]
	sub	sp, sp, #48
	stp	x22, x9, [sp, #32]
	stp	x8, x11, [sp, #16]
	stp	x10, x21, [sp]
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_D
	add	sp, sp, #48
LBB0_25:
	mov	x0, x23
	bl	_free
	ldr	x8, [x25]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_27
LBB0_26:
Lloh25:
	adrp	x8, _OPT_COPY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _OPT_COPY@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	b	LBB0_32
LBB0_27:
	ldr	w8, [x28]
	cmp	w8, w20
	b.ne	LBB0_29
; %bb.28:
	ldp	x9, x8, [x19, #24]
	cmp	x8, x9
	b.ne	LBB0_26
LBB0_29:
Lloh28:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_31
; %bb.30:
	add	x0, x19, #16
	add	x1, x19, #8
	bl	_IN6_ARE_ADDR_EQUAL
	cbz	w0, LBB0_26
LBB0_31:
	mov	w0, #0
LBB0_32:
	ldur	x8, [x29, #-88]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.33:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
	.comm	_verbose,8,3                    ; @verbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"extract IP range from %s"

l_.str.1:                               ; @.str.1
	.asciz	"strdup failed"

	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_AF_INET,4,2                    ; @AF_INET
l_.str.2:                               ; @.str.2
	.asciz	"range is %s:%d to %s:%d"

l_.str.3:                               ; @.str.3
	.asciz	"range is %d@[%s]:%d to %d@[%s]:%d"

	.comm	_OPT_COPY,4,2                   ; @OPT_COPY
	.no_dead_strip	_extract_ip_range
.subsections_via_symbols
