	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cidr_parse4
_cidr_parse4:                           ## @cidr_parse4
	.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	%rdi, %rbx
	movl	$24, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_strlen
	cmpl	$7, %eax
	ja	LBB0_16
## %bb.2:
	movq	8(%r12), %rdi
	leaq	L_.str(%rip), %rdx
	movl	$8, %esi
	movq	%rbx, %rcx
	callq	_snprintf
	movq	_AF_INET@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movl	%eax, 16(%r12)
	movq	8(%r12), %rbx
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:
	movq	%rax, %r14
	leaq	1(%rax), %r15
	movb	$0, (%rax)
	movq	%r15, %rdi
	movl	$46, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movl	(%r13), %edi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rsi
	callq	_inet_pton
	cmpl	$1, %eax
	jne	LBB0_16
## %bb.5:
	movl	$0, (%r12)
	movl	-48(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edx
	movl	%eax, %esi
	andl	$1, %esi
	addl	%esi, %ecx
	sarl	%eax
	cmpl	$2, %edx
	jae	LBB0_7
## %bb.8:
	movl	%ecx, (%r12)
	movl	%eax, -48(%rbp)
	jmp	LBB0_12
LBB0_14:
	movl	$32, (%r12)
	jmp	LBB0_15
LBB0_9:
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	movl	$10, %edx
	callq	_strtoul
	movl	%eax, (%r12)
	movq	-56(%rbp), %rcx
	cmpq	%rcx, %r15
	je	LBB0_16
## %bb.10:
	cmpb	$0, (%rcx)
	jne	LBB0_16
## %bb.11:
	cmpl	$32, %eax
	jg	LBB0_16
LBB0_12:
	movq	8(%r12), %rbx
	cmpq	%rbx, %r14
	je	LBB0_13
LBB0_15:
	movl	(%r13), %edi
	movq	%r12, %rdx
	addq	$4, %rdx
	movq	%rbx, %rsi
	callq	_inet_pton
	cmpl	$1, %eax
	je	LBB0_18
LBB0_16:
	movq	%r12, %rdi
	callq	_free
LBB0_17:
	xorl	%r12d, %r12d
LBB0_18:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%r12, %rdi
	addq	$4, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_AF_INET,4,2                    ## @AF_INET
	.no_dead_strip	_cidr_parse4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cidr_parse4
_cidr_parse4:                           ; @cidr_parse4
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	mov	w0, #24
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_16
; %bb.1:
	mov	x0, x20
	bl	_strlen
	cmp	w0, #7
	b.hi	LBB0_15
; %bb.2:
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #8
	mov	x3, x20
	bl	_snprintf
Lloh2:
	adrp	x22, _AF_INET@GOTPAGE
Lloh3:
	ldr	x22, [x22, _AF_INET@GOTPAGEOFF]
	ldr	w8, [x22]
	str	w8, [x19, #16]
	ldr	x21, [x19, #8]
	mov	x0, x21
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_9
; %bb.3:
	mov	x20, x0
	mov	x21, x0
	strb	wzr, [x21], #1
	mov	x0, x21
	mov	w1, #46
	bl	_strchr
	cbz	x0, LBB0_10
; %bb.4:
	ldr	w0, [x22]
	mov	x2, sp
	mov	x1, x21
	bl	_inet_pton
	cmp	w0, #1
	b.ne	LBB0_15
; %bb.5:
	str	wzr, [x19]
	ldr	w8, [sp]
	cbz	w8, LBB0_13
; %bb.6:
	mov	w9, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x8
	and	w8, w8, #0x1
	add	w9, w9, w8
	asr	w8, w10, #1
	cmp	w10, #2
	b.hs	LBB0_7
; %bb.8:
	str	w9, [x19]
	str	w8, [sp]
	b	LBB0_13
LBB0_9:
	mov	w8, #32
	str	w8, [x19]
	b	LBB0_14
LBB0_10:
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #10
	bl	_strtoul
	str	w0, [x19]
	ldr	x8, [sp, #8]
	cmp	x21, x8
	b.eq	LBB0_15
; %bb.11:
	ldrb	w8, [x8]
	cbnz	w8, LBB0_15
; %bb.12:
	cmp	w0, #32
	b.gt	LBB0_15
LBB0_13:
	ldr	x21, [x19, #8]
	cmp	x20, x21
	b.eq	LBB0_17
LBB0_14:
	ldr	w0, [x22]
	add	x2, x19, #4
	mov	x1, x21
	bl	_inet_pton
	cmp	w0, #1
	b.eq	LBB0_16
LBB0_15:
	mov	x0, x19
	bl	_free
	mov	x19, #0
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_17:
	add	x0, x19, #4
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	b	LBB0_16
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_AF_INET,4,2                    ; @AF_INET
	.no_dead_strip	_cidr_parse4
.subsections_via_symbols
