	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inet_cidr_ntop_ipv4
_inet_cidr_ntop_ipv4:                   ## @inet_cidr_ntop_ipv4
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	leal	-33(%rbx), %eax
	cmpl	$-35, %eax
	ja	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movq	%rcx, %r15
	movq	%rdx, %r14
	cmpl	$-1, %ebx
	je	LBB0_3
## %bb.4:
	cmpq	$1, 8(%rdi)
	movl	$2, %eax
	sbbq	$0, %rax
	cmpq	$0, 16(%rdi)
	movl	$3, %ecx
	cmoveq	%rax, %rcx
	cmpq	$0, 24(%rdi)
	movl	$4, %eax
	cmoveq	%rcx, %rax
	jmp	LBB0_5
LBB0_3:
	movl	$4, %eax
LBB0_5:
	cmpl	$2, %ebx
	movl	$1, %esi
	cmovgel	%ebx, %esi
	addl	$7, %esi
	shrl	$3, %esi
	cmpq	%rsi, %rax
	cmovaq	%rax, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_decoct
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	cmpl	$-1, %ebx
	je	LBB0_11
## %bb.7:
	subq	%rax, %r15
	cmpq	$4, %r15
	jae	LBB0_8
LBB0_9:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%r14d, %r14d
LBB0_11:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	%ebx, %edi
	callq	_SPRINTF
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_inet_cidr_ntop_ipv4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inet_cidr_ntop_ipv4
_inet_cidr_ntop_ipv4:                   ; @inet_cidr_ntop_ipv4
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	w8, w1, #33
	cmn	w8, #35
	b.hi	LBB0_2
; %bb.1:
	mov	x19, #0
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	cmn	w1, #1
	b.eq	LBB0_4
; %bb.3:
	ldp	x8, x9, [x0, #8]
	cmp	x8, #0
	mov	w8, #1
	cinc	x8, x8, ne
	mov	w10, #3
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	x9, [x0, #24]
	mov	w10, #4
	cmp	x9, #0
	csel	x8, x8, x10, eq
	b	LBB0_5
LBB0_4:
	mov	w8, #4
LBB0_5:
	cmp	w20, #1
	csinc	w9, w20, wzr, gt
	add	w9, w9, #7
	lsr	w9, w9, #3
	cmp	x8, x9
	csel	x1, x8, x9, hi
	mov	x2, x19
	mov	x3, x21
	bl	_decoct
	cbz	x0, LBB0_8
; %bb.6:
	cmn	w20, #1
	b.eq	LBB0_10
; %bb.7:
	sub	x8, x21, x0
	cmp	x8, #4
	b.hs	LBB0_11
LBB0_8:
	mov	x19, #0
Lloh2:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _errno@GOTPAGE
Lloh5:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh6:
	str	w8, [x9]
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	w0, w20
	bl	_SPRINTF
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_inet_cidr_ntop_ipv4
.subsections_via_symbols
