	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet_aton                      ## -- Begin function inet_aton
	.p2align	4, 0x90
_inet_aton:                             ## @inet_aton
	.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
	movq	%rsi, %r14
	movq	%rdi, %rax
	xorl	%r15d, %r15d
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	xorl	%edi, %edi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rbx,%rdx,2), %rdx
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rax
	testb	%sil, %sil
	je	LBB0_9
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rax), %esi
	leal	-48(%rsi), %ebx
	cmpl	$10, %ebx
	jb	LBB0_12
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%esi, %esi
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$46, %esi
	jne	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$2, %ecx
	jg	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%ecx
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$255, %rdx
	ja	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	shlq	$8, %rdi
	orq	%rdx, %rdi
	xorl	%edx, %edx
	jmp	LBB0_8
LBB0_9:
	movl	$1, %r15d
	testq	%r14, %r14
	je	LBB0_11
## %bb.10:
	leal	(,%rcx,8), %eax
	movb	$24, %dl
	subb	%al, %dl
	xorl	%eax, %eax
	cmpl	$3, %ecx
	movzbl	%dl, %ecx
	cmovgel	%eax, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %rdi
	callq	_htonl
	movl	%eax, (%r14)
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet_aton                      ; -- Begin function inet_aton
	.p2align	2
_inet_aton:                             ; @inet_aton
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	w9, #0
	mov	x11, #0
	mov	x8, #0
	mov	w10, #10
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	madd	x11, x11, x10, x13
	add	x0, x0, #1
	cbz	w12, LBB0_9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w12, [x0]
	sub	w13, w12, #48
	cmp	w13, #10
	b.lo	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w12, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w12, #46
	b.ne	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w9, #2
	b.gt	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w9, w9, #1
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x11, #255
	b.hi	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	orr	x8, x11, x8, lsl #8
	mov	x11, #0
	add	x0, x0, #1
	cbnz	w12, LBB0_2
LBB0_9:
	cbz	x19, LBB0_11
; %bb.10:
	mov	w10, #24
	sub	w10, w10, w9, lsl #3
	cmp	w9, #3
	csel	w9, w10, wzr, lt
	lsl	x0, x8, x9
	bl	_htonl
	str	w0, [x19]
LBB0_11:
	mov	w0, #1
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
