	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alist_new                      ## -- Begin function alist_new
	.p2align	4, 0x90
_alist_new:                             ## @alist_new
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_AF_INET@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %r15d
LBB0_5:
	movq	_AF_INET@GOTPCREL(%rip), %r12
	cmpl	(%r12), %r15d
	je	LBB0_7
## %bb.6:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_31
LBB0_7:
	movl	$1, %edi
	movl	$20, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.8:
	movq	%rax, %r14
	decq	%rbx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_ISSPACE
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:
	cmpb	$33, (%rbx)
	jne	LBB0_13
## %bb.11:
	movl	$1, (%r14)
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_ISSPACE
	testq	%rax, %rax
	jne	LBB0_12
LBB0_13:
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_17
## %bb.14:
	movb	$0, (%rax)
	leaq	1(%rax), %rdi
	callq	_atoi
	movl	%eax, %r13d
	cmpl	(%r12), %r15d
	jne	LBB0_22
## %bb.15:
	cmpl	$32, %r13d
	jle	LBB0_18
	jmp	LBB0_30
LBB0_16:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	jmp	LBB0_31
LBB0_17:
	movl	$-1, %r13d
	cmpl	(%r12), %r15d
	jne	LBB0_23
LBB0_18:
	movl	$-1, -44(%rbp)
	movl	$-1, -48(%rbp)
	movl	$-1, -52(%rbp)
	movl	$-1, -68(%rbp)
	leaq	L_.str.1(%rip), %rsi
	leaq	-68(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	leaq	-48(%rbp), %r8
	leaq	-44(%rbp), %r9
	movq	%rbx, %rdi
	callq	_sscanf
	testl	%r13d, %r13d
	jle	LBB0_33
## %bb.19:
	negb	%r13b
	movl	$-1, %edi
	movl	%r13d, %ecx
	shll	%cl, %edi
LBB0_20:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_21:
	callq	_htonl
	movl	%eax, 16(%r14)
	jmp	LBB0_24
LBB0_22:
	cmpl	$128, %r13d
	jg	LBB0_30
LBB0_23:
	movl	12(%r14), %esi
	movl	%r13d, %edi
	callq	_fill6bits
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_24:
	movq	%r14, %rdx
	addq	$8, %rdx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_gethost
	cmpl	$-1, %eax
	je	LBB0_27
## %bb.25:
	movl	%r15d, 4(%r14)
	testq	%r12, %r12
	je	LBB0_32
## %bb.26:
	movb	$47, (%r12)
	jmp	LBB0_32
LBB0_27:
	testq	%r12, %r12
	je	LBB0_29
## %bb.28:
	movb	$47, (%r12)
LBB0_29:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_fprintf
LBB0_30:
	movq	%r14, %rdi
	callq	_free
LBB0_31:
	xorl	%r14d, %r14d
LBB0_32:
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	cmpl	$-1, -52(%rbp)
	je	LBB0_37
## %bb.34:
	cmpl	$-1, -48(%rbp)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_38
## %bb.35:
	movl	$-1, %edi
	cmpl	$-1, -44(%rbp)
	jne	LBB0_21
## %bb.36:
	movl	$0, -44(%rbp)
	movl	$-256, %edi
	jmp	LBB0_21
LBB0_37:
	movl	$0, -44(%rbp)
	movl	$0, -48(%rbp)
	movl	$0, -52(%rbp)
	movl	$-16777216, %edi                ## imm = 0xFF000000
	jmp	LBB0_20
LBB0_38:
	movl	$0, -44(%rbp)
	movl	$0, -48(%rbp)
	movl	$-65536, %edi                   ## imm = 0xFFFF0000
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_UNSPEC,4,2                  ## @AF_UNSPEC
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"alist_new out of memory\n"

L_.str.1:                               ## @.str.1
	.asciz	"%d.%d.%d.%d"

L_.str.2:                               ## @.str.2
	.asciz	"Cannot parse hostname\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alist_new                      ; -- Begin function alist_new
	.p2align	2
_alist_new:                             ; @alist_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _AF_UNSPEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_UNSPEC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x19, _AF_INET6@GOTPAGE
Lloh4:
	ldr	x19, [x19, _AF_INET6@GOTPAGEOFF]
Lloh5:
	adrp	x24, _AF_INET@GOTPAGE
Lloh6:
	ldr	x24, [x24, _AF_INET@GOTPAGEOFF]
	cmp	w8, w0
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x21
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w20, [x19]
	b	LBB0_4
LBB0_3:
	ldr	w20, [x24]
LBB0_4:
	ldr	w8, [x24]
	ldr	w9, [x19]
	cmp	w20, w8
	ccmp	w20, w9, #4, ne
	b.ne	LBB0_28
; %bb.5:
	mov	w0, #1
	mov	w1, #20
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_14
; %bb.6:
	sub	x21, x21, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x21, #1]!
	bl	_ISSPACE
	cbnz	x0, LBB0_7
; %bb.8:
	ldrb	w8, [x21]
	cmp	w8, #33
	b.ne	LBB0_11
; %bb.9:
	mov	w8, #1
	str	w8, [x19]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x21, #1]!
	bl	_ISSPACE
	cbnz	x0, LBB0_10
LBB0_11:
	mov	x0, x21
	mov	w1, #47
	bl	_strchr
	mov	x22, x0
	cbz	x0, LBB0_15
; %bb.12:
	mov	x0, x22
	strb	wzr, [x0], #1
	bl	_atoi
	mov	x23, x0
	ldr	w8, [x24]
	cmp	w20, w8
	b.ne	LBB0_19
; %bb.13:
	cmp	w23, #32
	b.le	LBB0_16
	b	LBB0_27
LBB0_14:
Lloh7:
	adrp	x8, _stderr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	b	LBB0_29
LBB0_15:
	ldr	w8, [x24]
	mov	w23, #-1
	cmp	w20, w8
	b.ne	LBB0_20
LBB0_16:
	mov	w24, #-1
	stp	w24, w24, [sp]
	stp	w24, w24, [sp, #8]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x5, sp
	mov	x0, x21
	bl	_sscanf
	cmp	w23, #1
	b.lt	LBB0_30
; %bb.17:
	neg	w8, w23
	lsl	w0, w24, w8
LBB0_18:
	bl	_htonl
	str	w0, [x19, #16]
	b	LBB0_21
LBB0_19:
	cmp	w23, #128
	b.gt	LBB0_27
LBB0_20:
	ldr	w1, [x19, #12]
	mov	x0, x23
	bl	_fill6bits
LBB0_21:
	add	x2, x19, #8
	mov	x0, x20
	mov	x1, x21
	bl	_gethost
	cmn	w0, #1
	b.eq	LBB0_24
; %bb.22:
	str	w20, [x19, #4]
	cbz	x22, LBB0_29
; %bb.23:
	mov	w8, #47
	strb	w8, [x22]
	b	LBB0_29
LBB0_24:
	cbz	x22, LBB0_26
; %bb.25:
	mov	w8, #47
	strb	w8, [x22]
LBB0_26:
Lloh14:
	adrp	x8, _stderr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
LBB0_27:
	mov	x0, x19
	bl	_free
LBB0_28:
	mov	x19, #0
LBB0_29:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_30:
	ldr	w8, [sp, #8]
	cmn	w8, #1
	b.eq	LBB0_34
; %bb.31:
	ldr	w8, [sp, #4]
	cmn	w8, #1
	b.eq	LBB0_35
; %bb.32:
	ldr	w8, [sp]
	cmn	w8, #1
	b.eq	LBB0_36
; %bb.33:
	mov	w0, #-1
	b	LBB0_18
LBB0_34:
	str	xzr, [sp]
	mov	w0, #-16777216
	str	wzr, [sp, #8]
	b	LBB0_18
LBB0_35:
	str	xzr, [sp]
	mov	w0, #-65536
	b	LBB0_18
LBB0_36:
	str	wzr, [sp]
	mov	w0, #-256
	b	LBB0_18
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_UNSPEC,4,2                  ; @AF_UNSPEC
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"alist_new out of memory\n"

l_.str.1:                               ; @.str.1
	.asciz	"%d.%d.%d.%d"

l_.str.2:                               ; @.str.2
	.asciz	"Cannot parse hostname\n"

.subsections_via_symbols
