	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_ipv4
_get_ipv4:                              ## @get_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	%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	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rsi), %rbx
	movsbl	(%rbx), %edi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movsbl	1(%rbx), %edi
	incq	%rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	callq	_isascii
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movsbl	(%rbx), %edi
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$46, (%rbx)
	je	LBB0_4
LBB0_5:
	movq	(%r15), %rcx
	movq	%rbx, %rdx
	subq	%rcx, %rdx
	movq	_INET_ADDRSTRLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rdx
	jle	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seterr
	jmp	LBB0_12
LBB0_7:
	cmpq	%rbx, %rcx
	je	LBB0_12
## %bb.8:
	movq	%rsp, %r13
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	(%r15), %rsi
	movl	%ebx, %edx
	subl	%esi, %edx
	movq	%r12, %rdi
	callq	_strncpy
	movq	%rbx, %rax
	subq	(%r15), %rax
	movb	$0, (%r12,%rax)
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_inet_aton
	cmpl	$1, %eax
	jne	LBB0_9
## %bb.10:
	movq	%rbx, (%r15)
	jmp	LBB0_11
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_seterr
LBB0_11:
	movq	%r13, %rsp
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INET_ADDRSTRLEN,4,2            ## @INET_ADDRSTRLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IPv4 address too long '%.*s'"

L_.str.1:                               ## @.str.1
	.asciz	"illegal IPv4 address '%s'"

	.no_dead_strip	_get_ipv4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_ipv4
_get_ipv4:                              ; @get_ipv4
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x19, [x1]
	ldrsb	w0, [x19]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldrsb	w0, [x19, #1]!
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_isascii
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrsb	w0, [x19]
	bl	_isdigit
	cbnz	x0, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x19]
	cmp	w8, #46
	b.eq	LBB0_1
LBB0_5:
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _INET_ADDRSTRLEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INET_ADDRSTRLEN@GOTPAGEOFF]
Lloh5:
	ldrsw	x10, [x9]
	sub	x9, x19, x8
	cmp	x9, x10
	b.le	LBB0_7
; %bb.6:
	stp	x9, x8, [sp, #-16]!
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_seterr
	add	sp, sp, #16
	mov	x19, #0
	b	LBB0_12
LBB0_7:
	cmp	x8, x19
	b.eq	LBB0_12
; %bb.8:
	mov	x23, sp
	add	w8, w10, #1
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	x1, [x21]
	sub	w2, w19, w1
	mov	x0, x22
	bl	_strncpy
	ldr	x8, [x21]
	sub	x8, x19, x8
	strb	wzr, [x22, x8]
	sub	x1, x29, #64
	mov	x0, x22
	bl	_inet_aton
	cmp	w0, #1
	b.ne	LBB0_10
; %bb.9:
	str	x19, [x21]
	b	LBB0_11
LBB0_10:
	str	x22, [sp, #-16]!
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_seterr
	add	sp, sp, #16
	mov	x19, #0
LBB0_11:
	mov	sp, x23
LBB0_12:
	ldur	x8, [x29, #-56]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_INET_ADDRSTRLEN,4,2            ; @INET_ADDRSTRLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IPv4 address too long '%.*s'"

l_.str.1:                               ; @.str.1
	.asciz	"illegal IPv4 address '%s'"

	.no_dead_strip	_get_ipv4
.subsections_via_symbols
