	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function udp_set_url
_udp_set_url:                           ## @udp_set_url
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	movq	%rdx, %rsi
	movl	%ecx, %edx
	movl	%eax, %ecx
	xorl	%r9d, %r9d
	callq	_ff_ip_resolve_host
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_memcpy
	movl	(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_freeaddrinfo
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_AF_UNSPEC,4,2                  ## @AF_UNSPEC
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_udp_set_url
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function udp_set_url
_udp_set_url:                           ; @udp_set_url
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x3
	mov	x19, x1
Lloh0:
	adrp	x9, _SOCK_DGRAM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SOCK_DGRAM@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x9]
Lloh3:
	adrp	x9, _AF_UNSPEC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AF_UNSPEC@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x9]
	mov	x1, x2
	mov	x2, x8
	mov	w5, #0
	bl	_ff_ip_resolve_host
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldp	w2, w1, [x0]
	mov	x0, x19
	bl	_memcpy
	ldr	w19, [x20]
	mov	x0, x20
	bl	_freeaddrinfo
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_AF_UNSPEC,4,2                  ; @AF_UNSPEC
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_udp_set_url
.subsections_via_symbols
