	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_parse_addr_list
_ip_parse_addr_list:                    ## @ip_parse_addr_list
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)
	xorl	%eax, %eax
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	cmpb	$0, (%rsi)
	je	LBB0_8
## %bb.2:
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rdi, %r15
	leaq	-48(%rbp), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, (%rax)
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-56(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_av_get_token
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%r15, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	callq	_ff_ip_resolve_host
	movq	%rax, %r12
	leaq	-64(%rbp), %rdi
	callq	_av_freep
	testq	%r12, %r12
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -48(%rbp)
	movl	(%r12), %edx
	movl	4(%r12), %esi
	movq	%r13, %rdi
	callq	_memcpy
	movq	%r12, %rdi
	callq	_freeaddrinfo
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	movq	%r13, %rcx
	callq	_av_dynarray2_add
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_6
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	movq	%rax, -56(%rbp)
	jmp	LBB0_6
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	","

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_AF_UNSPEC,4,2                  ## @AF_UNSPEC
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ip_parse_addr_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_parse_addr_list
_ip_parse_addr_list:                    ; @ip_parse_addr_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	x1, [sp, #24]
	cbz	x1, LBB0_9
; %bb.1:
	ldrb	w8, [x1]
	cbz	w8, LBB0_9
; %bb.2:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
Lloh2:
	adrp	x24, _SOCK_DGRAM@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SOCK_DGRAM@GOTPAGEOFF]
Lloh4:
	adrp	x25, _AF_UNSPEC@GOTPAGE
Lloh5:
	ldr	x25, [x25, _AF_UNSPEC@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x8]
	cbz	w8, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	mov	x1, x22
	bl	_av_get_token
	str	x0, [sp, #16]
	cbz	x0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x0
	ldr	w3, [x24]
	ldr	w4, [x25]
	mov	x0, x21
	mov	w2, #0
	mov	w5, #0
	bl	_ff_ip_resolve_host
	mov	x23, x0
	add	x0, sp, #16
	bl	_av_freep
	cbz	x23, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [sp, #8]
	ldp	w2, w1, [x23]
	add	x0, sp, #8
	bl	_memcpy
	mov	x0, x23
	bl	_freeaddrinfo
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	w2, #4
	bl	_av_dynarray2_add
	ldr	x8, [x20]
	cbz	x8, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #24]
	ldrb	w9, [x8]
	cbz	w9, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	str	x8, [sp, #24]
	b	LBB0_3
LBB0_9:
	mov	w0, #0
	b	LBB0_13
LBB0_10:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	","

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_AF_UNSPEC,4,2                  ; @AF_UNSPEC
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ip_parse_addr_list
.subsections_via_symbols
