	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_ip_resolve_host             ## -- Begin function ff_ip_resolve_host
	.p2align	4, 0x90
_ff_ip_resolve_host:                    ## @ff_ip_resolve_host
	.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
	movl	%ecx, %r13d
	movq	%rsi, %r15
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -76(%rbp)
	movq	$0, -72(%rbp)
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movl	%edx, %ecx
	leaq	-64(%rbp), %r12
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movl	$16, %esi
	movl	%r9d, %r14d
	movl	%r8d, %ebx
	callq	_snprintf
	movl	%ebx, %r8d
	movl	%r14d, %r9d
	testq	%r15, %r15
	je	LBB0_4
LBB0_5:
	movb	(%r15), %al
	xorl	%r14d, %r14d
	testb	%al, %al
	je	LBB0_8
## %bb.6:
	cmpb	$63, %al
	je	LBB0_8
## %bb.7:
	movq	%r15, %r14
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %r12
	testq	%r15, %r15
	jne	LBB0_5
LBB0_4:
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r13d, -88(%rbp)
	movl	%r8d, -84(%rbp)
	movl	%r9d, -80(%rbp)
	leaq	-88(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	$0, -72(%rbp)
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	testq	%r14, %r14
	leaq	L_.str.3(%rip), %rbx
	cmovneq	%r14, %rbx
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str.2(%rip), %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movq	%rbx, %rcx
	movq	%r12, %r8
	movl	%eax, %r9d
	callq	_av_log
LBB0_10:
	movq	-72(%rbp), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0"

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

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"getaddrinfo(%s, %s): %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"unknown"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_ip_resolve_host             ; -- Begin function ff_ip_resolve_host
	.p2align	2
_ff_ip_resolve_host:                    ; @ff_ip_resolve_host
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	str	wzr, [sp, #20]
	str	xzr, [sp]
	cmp	w2, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x3, x2
	add	x20, sp, #24
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #24
	mov	w1, #16
	bl	_snprintf
	cbz	x24, LBB0_3
LBB0_2:
	ldrb	w8, [x24]
	cmp	w8, #63
	csel	x9, xzr, x24, eq
	cmp	w8, #0
	csel	x24, xzr, x9, eq
LBB0_3:
	stp	w23, w22, [sp, #8]
	str	w21, [sp, #16]
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x24
	mov	x1, x20
	bl	_getaddrinfo
	cbz	w0, LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
	str	xzr, [sp]
Lloh7:
	ldr	w21, [x8]
Lloh8:
	adrp	x8, l_.str.3@PAGE
Lloh9:
	add	x8, x8, l_.str.3@PAGEOFF
	cmp	x24, #0
	csel	x22, x8, x24, eq
	bl	_gai_strerror
	mov	x5, x0
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	x3, x22
	mov	x4, x20
	bl	_av_log
LBB0_5:
	ldr	x0, [sp]
	ldr	x8, [sp, #40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.6:
	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
	add	sp, sp, #112
	ret
LBB0_7:
Lloh15:
	adrp	x20, l_.str@PAGE
Lloh16:
	add	x20, x20, l_.str@PAGEOFF
	cbnz	x24, LBB0_2
	b	LBB0_3
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0"

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

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"getaddrinfo(%s, %s): %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"unknown"

.subsections_via_symbols
