	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resolve_name
_resolve_name:                          ## @resolve_name
	.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
	movl	%r9d, %r15d
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movl	%esi, %r13d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_parse_ip_addr
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movl	16(%rbp), %r8d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	movl	%r8d, %ebx
	callq	_create_unbound_context
	movq	%rax, %r12
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.3:
	testl	%r15d, %r15d
	je	LBB0_4
LBB0_5:
	movq	%r12, %rdi
	callq	_ub_ctx_delete
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_6
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_LDNS_RR_CLASS_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-56(%rbp), %r9
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_resolve_host_ip
	testl	%r15d, %r15d
	jne	LBB0_5
LBB0_4:
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_LDNS_RR_CLASS_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-56(%rbp), %r9
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_resolve_host_ip
	jmp	LBB0_5
LBB0_6:
	movq	_verb@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_printf
LBB0_8:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_A,4,2             ## @LDNS_RR_TYPE_A
	.comm	_LDNS_RR_CLASS_IN,4,2           ## @LDNS_RR_CLASS_IN
	.comm	_LDNS_RR_TYPE_AAAA,4,2          ## @LDNS_RR_TYPE_AAAA
	.comm	_verb,8,3                       ## @verb
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s has no IP addresses I can use\n"

	.no_dead_strip	_resolve_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resolve_name
_resolve_name:                          ; @resolve_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x23, x6
	mov	x21, x5
	mov	x22, x4
	mov	x24, x3
	mov	x25, x2
	mov	x20, x1
	mov	x19, x0
	bl	_parse_ip_addr
	str	x0, [sp, #8]
	cbnz	x0, LBB0_4
; %bb.1:
	mov	x0, x25
	mov	x1, x24
	mov	x2, x22
	mov	x3, x21
	mov	x4, x23
	bl	_create_unbound_context
	mov	x22, x0
	cbz	w23, LBB0_5
; %bb.2:
	cbz	w21, LBB0_6
LBB0_3:
	mov	x0, x22
	bl	_ub_ctx_delete
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_7
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_A@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _LDNS_RR_CLASS_IN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_RR_CLASS_IN@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	add	x5, sp, #8
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	bl	_resolve_host_ip
	cbnz	w21, LBB0_3
LBB0_6:
Lloh6:
	adrp	x8, _LDNS_RR_TYPE_AAAA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LDNS_RR_TYPE_AAAA@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x8, _LDNS_RR_CLASS_IN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LDNS_RR_CLASS_IN@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	add	x5, sp, #8
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	bl	_resolve_host_ip
	b	LBB0_3
LBB0_7:
Lloh12:
	adrp	x8, _verb@GOTPAGE
Lloh13:
	ldr	x8, [x8, _verb@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_printf
LBB0_9:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_A,4,2             ; @LDNS_RR_TYPE_A
	.comm	_LDNS_RR_CLASS_IN,4,2           ; @LDNS_RR_CLASS_IN
	.comm	_LDNS_RR_TYPE_AAAA,4,2          ; @LDNS_RR_TYPE_AAAA
	.comm	_verb,8,3                       ; @verb
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s has no IP addresses I can use\n"

	.no_dead_strip	_resolve_name
.subsections_via_symbols
