	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in4_pton                       ## -- Begin function in4_pton
	.p2align	4, 0x90
_in4_pton:                              ## @in4_pton
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testl	%esi, %esi
	jns	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_strlen
	movl	%eax, %ebx
LBB0_2:
	xorl	%r12d, %r12d
	leaq	-64(%rbp), %r14
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	leal	(%r15,%r15,4), %ecx
	leal	(%rax,%rcx,2), %r15d
	testl	$65280, %r15d                   ## imm = 0xFF00
	jne	LBB0_12
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	decl	%ebx
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	testl	%ebx, %ebx
	jle	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%r13), %eax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movsbl	%al, %edi
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	callq	_xdigit2bin
                                        ## kill: def $eax killed $eax def $rax
	movq	_IN6PTON_DELIM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IN6PTON_COLON_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_IN6PTON_DOT@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movq	_IN6PTON_DIGIT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	%ecx, %esi
	orl	%edx, %esi
	testl	%eax, %esi
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	orl	%edx, %ecx
	testl	%eax, %ecx
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%r15b, %ecx
	movl	%ecx, (%r14)
	leal	1(%r12), %ecx
	movq	_IN6PTON_COLON_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_IN6PTON_DELIM@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	testl	%eax, %edx
	jne	LBB0_10
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r15d, %r15d
	cmpl	$2, %r12d
	jg	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	$4, %r14
	movl	%ecx, %r12d
	jmp	LBB0_20
LBB0_10:
	cmpl	$4, %ecx
	jne	LBB0_12
## %bb.11:
	leaq	-64(%rbp), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	$16, %edx
	callq	_memcpy
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_12
LBB0_18:
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
LBB0_12:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%r13, (%rax)
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.21:
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IN6PTON_DIGIT,4,2              ## @IN6PTON_DIGIT
	.comm	_IN6PTON_DOT,4,2                ## @IN6PTON_DOT
	.comm	_IN6PTON_DELIM,4,2              ## @IN6PTON_DELIM
	.comm	_IN6PTON_COLON_MASK,4,2         ## @IN6PTON_COLON_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in4_pton                       ; -- Begin function in4_pton
	.p2align	2
_in4_pton:                              ; @in4_pton
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	x2, x4, [sp, #8]                ; 16-byte Folded Spill
	mov	x22, x3
	mov	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	tbz	w1, #31, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_strlen
	mov	x24, x0
LBB0_2:
	mov	w28, #0
	mov	w23, #0
Lloh3:
	adrp	x25, _IN6PTON_DIGIT@GOTPAGE
Lloh4:
	ldr	x25, [x25, _IN6PTON_DIGIT@GOTPAGEOFF]
Lloh5:
	adrp	x26, _IN6PTON_DOT@GOTPAGE
Lloh6:
	ldr	x26, [x26, _IN6PTON_DOT@GOTPAGEOFF]
	add	x27, sp, #24
Lloh7:
	adrp	x21, _IN6PTON_DELIM@GOTPAGE
Lloh8:
	ldr	x21, [x21, _IN6PTON_DELIM@GOTPAGEOFF]
Lloh9:
	adrp	x19, _IN6PTON_COLON_MASK@GOTPAGE
Lloh10:
	ldr	x19, [x19, _IN6PTON_COLON_MASK@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #10
	madd	w23, w23, w8, w0
	tst	w23, #0xff00
	b.ne	LBB0_16
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	subs	w24, w24, #1
	b.lt	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x20]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #0
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	sxtb	w0, w8
	mov	x1, x22
	bl	_xdigit2bin
	ldr	w10, [x25]
	ldr	w9, [x26]
	ldr	w11, [x21]
	ldr	w8, [x19]
	orr	w9, w11, w9
	orr	w10, w9, w10
	orr	w10, w10, w8
	tst	w10, w0
	b.eq	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	orr	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cbz	w23, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	and	w8, w23, #0xff
	str	w8, [x27]
	add	w8, w28, #1
	ldr	w9, [x21]
	ldr	w10, [x19]
	orr	w9, w10, w9
	tst	w9, w0
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w23, #0
	cmp	w28, #2
	b.gt	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x27, x27, #4
	mov	x28, x8
	b	LBB0_4
LBB0_14:
	cmp	w8, #4
	b.ne	LBB0_16
; %bb.15:
	add	x1, sp, #24
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	w2, #16
	bl	_memcpy
	mov	w23, #1
	b	LBB0_17
LBB0_16:
	mov	w23, #0
LBB0_17:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_19
; %bb.18:
	str	x20, [x8]
LBB0_19:
	ldr	x8, [sp, #40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IN6PTON_DIGIT,4,2              ; @IN6PTON_DIGIT
	.comm	_IN6PTON_DOT,4,2                ; @IN6PTON_DOT
	.comm	_IN6PTON_DELIM,4,2              ; @IN6PTON_DELIM
	.comm	_IN6PTON_COLON_MASK,4,2         ; @IN6PTON_COLON_MASK
.subsections_via_symbols
