	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gaic_launch
_gaic_launch:                           ## @gaic_launch
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$1, %edi
	movl	$32, %esi
	callq	_calloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_tt_assert
	movabsq	$42949672960000, %rax           ## imm = 0x271000000000
	movq	%rax, -32(%rbp)
	movq	_GAIC_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%r15, 16(%rbx)
	movq	%r14, 8(%rbx)
	movq	_gaic_cancel_request_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	callq	_event_assign
	movq	_gaic_getaddrinfo_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	callq	_evdns_getaddrinfo
	movl	%eax, 4(%rbx)
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_event_add
	movq	_pending@GOTPCREL(%rip), %rax
	incl	(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GAIC_MAGIC,4,2                 ## @GAIC_MAGIC
	.comm	_gaic_cancel_request_cb,4,2     ## @gaic_cancel_request_cb
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"foobar.bazquux.example.com"

L_.str.1:                               ## @.str.1
	.asciz	"80"

	.comm	_gaic_getaddrinfo_cb,4,2        ## @gaic_getaddrinfo_cb
	.comm	_pending,4,2                    ## @pending
	.no_dead_strip	_gaic_launch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gaic_launch
_gaic_launch:                           ; @gaic_launch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	mov	w0, #1
	mov	w1, #32
	bl	_calloc
	mov	x21, x0
	bl	_tt_assert
	mov	x8, #42949672960000
	str	x8, [sp, #8]
Lloh0:
	adrp	x8, _GAIC_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GAIC_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #24]
	stp	x19, x20, [x21, #8]
Lloh3:
	adrp	x8, _gaic_cancel_request_cb@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gaic_cancel_request_cb@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #-1
	mov	w3, #0
	mov	x5, x21
	bl	_event_assign
Lloh6:
	adrp	x8, _gaic_getaddrinfo_cb@GOTPAGE
Lloh7:
	ldr	x8, [x8, _gaic_getaddrinfo_cb@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, #0
	mov	x5, x21
	bl	_evdns_getaddrinfo
	str	w0, [x21, #4]
	add	x1, sp, #8
	mov	x0, x21
	bl	_event_add
Lloh13:
	adrp	x8, _pending@GOTPAGE
Lloh14:
	ldr	x8, [x8, _pending@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GAIC_MAGIC,4,2                 ; @GAIC_MAGIC
	.comm	_gaic_cancel_request_cb,4,2     ; @gaic_cancel_request_cb
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"foobar.bazquux.example.com"

l_.str.1:                               ; @.str.1
	.asciz	"80"

	.comm	_gaic_getaddrinfo_cb,4,2        ; @gaic_getaddrinfo_cb
	.comm	_pending,4,2                    ; @pending
	.no_dead_strip	_gaic_launch
.subsections_via_symbols
