	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evutil_inet_pton               ## -- Begin function evutil_inet_pton
	.p2align	4, 0x90
_evutil_inet_pton:                      ## @evutil_inet_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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	movl	$-1, %eax
	cmpl	%edi, (%rcx)
	jne	LBB0_7
## %bb.1:
	movq	%rdx, %rbx
	leaq	-9(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rax
	leaq	-28(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	leaq	-20(%rbp), %r8
	leaq	-16(%rbp), %r9
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_sscanf
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$4, %ecx
	jne	LBB0_7
## %bb.2:
	movl	-28(%rbp), %ecx
	cmpl	$255, %ecx
	ja	LBB0_7
## %bb.3:
	movl	-24(%rbp), %edx
	cmpl	$255, %edx
	ja	LBB0_7
## %bb.4:
	movl	-20(%rbp), %edi
	cmpl	$255, %edi
	ja	LBB0_7
## %bb.5:
	movl	-16(%rbp), %esi
	cmpl	$255, %esi
	ja	LBB0_7
## %bb.6:
	shll	$24, %ecx
	shll	$16, %edx
	orl	%ecx, %edx
	shll	$8, %edi
	orl	%edx, %edi
	orl	%esi, %edi
	callq	_htonl
	movl	%eax, (%rbx)
	movl	$1, %eax
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u.%u.%u.%u%c"

	.comm	_AF_INET6,4,2                   ## @AF_INET6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evutil_inet_pton               ; -- Begin function evutil_inet_pton
	.p2align	2
_evutil_inet_pton:                      ; @evutil_inet_pton
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_7
; %bb.1:
	mov	x19, x2
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	sub	x2, x29, #20
	add	x3, sp, #24
	add	x4, sp, #20
	add	x5, sp, #16
	add	x6, sp, #15
	mov	x0, x1
	mov	x1, x8
	bl	_sscanf
	cmp	w0, #4
	b.ne	LBB0_6
; %bb.2:
	ldur	w8, [x29, #-20]
	cmp	w8, #255
	b.hi	LBB0_6
; %bb.3:
	ldr	w9, [sp, #24]
	cmp	w9, #255
	b.hi	LBB0_6
; %bb.4:
	ldr	w10, [sp, #20]
	cmp	w10, #255
	b.hi	LBB0_6
; %bb.5:
	ldr	w11, [sp, #16]
	cmp	w11, #255
	b.ls	LBB0_9
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	mov	w0, #-1
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	lsl	w9, w9, #16
	orr	w8, w9, w8, lsl #24
	orr	w8, w8, w10, lsl #8
	orr	w0, w8, w11
	bl	_htonl
	str	w0, [x19]
	mov	w0, #1
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u.%u.%u.%u%c"

	.comm	_AF_INET6,4,2                   ; @AF_INET6
.subsections_via_symbols
