	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet_addr                      ## -- Begin function inet_addr
	.p2align	4, 0x90
_inet_addr:                             ## @inet_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	%rdi, %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -8(%rbp)
	movb	(%rdi), %dl
	leal	-48(%rdx), %ecx
	xorl	%edi, %edi
	cmpb	$9, %cl
	ja	LBB0_3
## %bb.1:
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%dl, %ecx
	leal	(%rdi,%rdi,4), %edx
	leal	(%rcx,%rdx,2), %edi
	addl	$-48, %edi
	movzbl	1(%rax), %edx
	incq	%rax
	leal	-48(%rdx), %ecx
	cmpb	$10, %cl
	jb	LBB0_2
LBB0_3:
	leaq	-32(%rbp), %rcx
	testb	%dl, %dl
	je	LBB0_4
## %bb.5:
	cmpb	$46, %dl
	jne	LBB0_35
## %bb.6:
	cmpl	$255, %edi
	jg	LBB0_35
## %bb.7:
	movl	%edi, -32(%rbp)
	movb	1(%rax), %dl
	leal	-48(%rdx), %esi
	xorl	%edi, %edi
	cmpb	$9, %sil
	ja	LBB0_10
## %bb.8:
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%dl, %edx
	leal	(%rdi,%rdi,4), %esi
	leal	(%rdx,%rsi,2), %edi
	addl	$-48, %edi
	movzbl	2(%rax), %edx
	leal	-48(%rdx), %esi
	incq	%rax
	cmpb	$10, %sil
	jb	LBB0_9
LBB0_10:
	testb	%dl, %dl
	je	LBB0_11
## %bb.12:
	cmpb	$46, %dl
	jne	LBB0_35
## %bb.13:
	cmpl	$255, %edi
	jg	LBB0_35
## %bb.14:
	movl	%edi, -28(%rbp)
	movb	2(%rax), %dl
	addq	$2, %rax
	leal	-48(%rdx), %esi
	xorl	%edi, %edi
	cmpb	$9, %sil
	ja	LBB0_17
## %bb.15:
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%dl, %edx
	leal	(%rdi,%rdi,4), %esi
	leal	(%rdx,%rsi,2), %edi
	addl	$-48, %edi
	movzbl	1(%rax), %edx
	incq	%rax
	leal	-48(%rdx), %esi
	cmpb	$10, %sil
	jb	LBB0_16
LBB0_17:
	testb	%dl, %dl
	je	LBB0_18
## %bb.19:
	cmpb	$46, %dl
	jne	LBB0_35
## %bb.20:
	cmpl	$255, %edi
	jg	LBB0_35
## %bb.21:
	movl	%edi, -24(%rbp)
	movb	1(%rax), %dl
	leal	-48(%rdx), %esi
	xorl	%edi, %edi
	cmpb	$9, %sil
	ja	LBB0_24
## %bb.22:
	addq	$2, %rax
	xorl	%edi, %edi
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%dl, %edx
	leal	(%rdi,%rdi,4), %esi
	leal	(%rdx,%rsi,2), %edi
	addl	$-48, %edi
	movzbl	(%rax), %edx
	leal	-48(%rdx), %esi
	incq	%rax
	cmpb	$10, %sil
	jb	LBB0_23
LBB0_24:
	testb	%dl, %dl
	jne	LBB0_35
## %bb.25:
	leaq	-20(%rbp), %rax
	jmp	LBB0_26
LBB0_4:
	movq	%rcx, %rax
LBB0_26:
	subq	%rcx, %rax
	shrq	$2, %rax
	cmpl	$3, %eax
	je	LBB0_33
## %bb.27:
	cmpl	$2, %eax
	je	LBB0_31
## %bb.28:
	cmpl	$1, %eax
	jne	LBB0_36
## %bb.29:
	cmpl	$16777215, %edi                 ## imm = 0xFFFFFF
	jg	LBB0_35
## %bb.30:
	movl	-32(%rbp), %eax
	shll	$24, %eax
	orl	%edi, %eax
	movl	%eax, %edi
	jmp	LBB0_36
LBB0_33:
	cmpl	$255, %edi
	jg	LBB0_35
## %bb.34:
	movl	-32(%rbp), %eax
	movl	-28(%rbp), %ecx
	shll	$24, %eax
	shll	$16, %ecx
	movl	-24(%rbp), %edx
	shll	$8, %edx
	orl	%ecx, %edx
	orl	%edi, %eax
	orl	%edx, %eax
	movl	%eax, %edi
	jmp	LBB0_36
LBB0_31:
	cmpl	$65535, %edi                    ## imm = 0xFFFF
	jle	LBB0_32
LBB0_35:
	movq	_INADDR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_36:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_htonl
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_38
## %bb.37:
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_11:
	leaq	-28(%rbp), %rax
	jmp	LBB0_26
LBB0_32:
	movl	-32(%rbp), %eax
	movl	-28(%rbp), %ecx
	shll	$24, %eax
	shll	$16, %ecx
	orl	%edi, %eax
	orl	%ecx, %eax
	movl	%eax, %edi
	jmp	LBB0_36
LBB0_18:
	leaq	-24(%rbp), %rax
	jmp	LBB0_26
LBB0_38:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INADDR_NONE,4,2                ## @INADDR_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet_addr                      ; -- Begin function inet_addr
	.p2align	2
_inet_addr:                             ; @inet_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	mov	x8, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-8]
	ldrb	w10, [x0]
	sub	w9, w10, #48
	cmp	w9, #9
	b.hi	LBB0_15
; %bb.1:
	mov	w0, #0
	mov	w9, #10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	madd	w10, w0, w9, w10
	sub	w0, w10, #48
	ldrb	w10, [x8, #1]!
	sub	w11, w10, #48
	cmp	w11, #10
	b.lo	LBB0_2
; %bb.3:
	add	x9, sp, #8
	cbz	w10, LBB0_16
LBB0_4:
	cmp	w10, #46
	b.ne	LBB0_25
; %bb.5:
	cmp	w0, #255
	b.gt	LBB0_25
; %bb.6:
	str	w0, [sp, #8]
	ldrb	w10, [x8, #1]
	sub	w11, w10, #48
	cmp	w11, #9
	b.hi	LBB0_28
; %bb.7:
	mov	w0, #0
	mov	w11, #10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	madd	w10, w0, w11, w10
	sub	w0, w10, #48
	ldrb	w10, [x8, #2]
	sub	w12, w10, #48
	add	x8, x8, #1
	cmp	w12, #10
	b.lo	LBB0_8
; %bb.9:
	cbz	w10, LBB0_29
LBB0_10:
	cmp	w10, #46
	b.ne	LBB0_25
; %bb.11:
	cmp	w0, #255
	b.gt	LBB0_25
; %bb.12:
	str	w0, [sp, #12]
	ldrb	w10, [x8, #2]!
	sub	w11, w10, #48
	cmp	w11, #9
	b.hi	LBB0_31
; %bb.13:
	mov	w0, #0
	mov	w11, #10
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	madd	w10, w0, w11, w10
	sub	w0, w10, #48
	ldrb	w10, [x8, #1]!
	sub	w12, w10, #48
	cmp	w12, #10
	b.lo	LBB0_14
	b	LBB0_32
LBB0_15:
	mov	w0, #0
	add	x9, sp, #8
	cbnz	w10, LBB0_4
LBB0_16:
	add	x8, sp, #8
LBB0_17:
	sub	x8, x8, x9
	lsr	x8, x8, #2
	cmp	w8, #3
	b.eq	LBB0_22
; %bb.18:
	cmp	w8, #2
	b.eq	LBB0_24
; %bb.19:
	cmp	w8, #1
	b.ne	LBB0_26
; %bb.20:
	mov	w8, #16777215
	cmp	w0, w8
	b.gt	LBB0_25
; %bb.21:
	ldr	w8, [sp, #8]
	orr	w0, w0, w8, lsl #24
	b	LBB0_26
LBB0_22:
	cmp	w0, #255
	b.gt	LBB0_25
; %bb.23:
	ldp	w8, w9, [sp, #8]
	ldr	w10, [sp, #16]
	orr	w8, w0, w8, lsl #24
	orr	w8, w8, w9, lsl #16
	orr	w0, w8, w10, lsl #8
	b	LBB0_26
LBB0_24:
	cmp	w0, #16, lsl #12                ; =65536
	b.lt	LBB0_30
LBB0_25:
Lloh3:
	adrp	x8, _INADDR_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INADDR_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_26:
	bl	_htonl
	ldur	x8, [x29, #-8]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_42
; %bb.27:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_28:
	mov	w0, #0
	cbnz	w10, LBB0_10
LBB0_29:
	add	x8, sp, #8
	add	x8, x8, #4
	b	LBB0_17
LBB0_30:
	ldp	w8, w9, [sp, #8]
	orr	w8, w0, w8, lsl #24
	orr	w0, w8, w9, lsl #16
	b	LBB0_26
LBB0_31:
	mov	w0, #0
LBB0_32:
	cbz	w10, LBB0_38
; %bb.33:
	cmp	w10, #46
	b.ne	LBB0_25
; %bb.34:
	cmp	w0, #255
	b.gt	LBB0_25
; %bb.35:
	str	w0, [sp, #16]
	ldrb	w10, [x8, #1]
	sub	w11, w10, #48
	cmp	w11, #9
	b.hi	LBB0_39
; %bb.36:
	mov	w0, #0
	add	x8, x8, #2
	mov	w11, #10
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	madd	w10, w0, w11, w10
	sub	w0, w10, #48
	ldrb	w10, [x8], #1
	sub	w12, w10, #48
	cmp	w12, #10
	b.lo	LBB0_37
	b	LBB0_40
LBB0_38:
	add	x8, sp, #8
	add	x8, x8, #8
	b	LBB0_17
LBB0_39:
	mov	w0, #0
LBB0_40:
	cbnz	w10, LBB0_25
; %bb.41:
	add	x8, sp, #8
	add	x8, x8, #12
	b	LBB0_17
LBB0_42:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_INADDR_NONE,4,2                ; @INADDR_NONE
.subsections_via_symbols
