	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gaic_getaddrinfo_cb
_gaic_getaddrinfo_cb:                   ## @gaic_getaddrinfo_cb
	.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	%rdx, %rbx
	movl	%edi, %r15d
	movq	(%rdx), %rax
	movq	16(%rdx), %r14
	movq	_GAIC_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_tt_assert
	movq	_EVUTIL_EAI_CANCEL@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	callq	_tt_assert
LBB0_2:
	leaq	12(%rbx), %rdi
	callq	_event_del
	movq	%rbx, %rdi
	movl	$240, %esi
	movl	$24, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_free
	movq	_pending@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	-1(%rcx), %rdx
	movq	%rdx, (%rax)
	cmpq	$1, %rcx
	jg	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_event_base_loopexit            ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GAIC_MAGIC,8,3                 ## @GAIC_MAGIC
	.comm	_EVUTIL_EAI_CANCEL,4,2          ## @EVUTIL_EAI_CANCEL
	.comm	_pending,8,3                    ## @pending
	.no_dead_strip	_gaic_getaddrinfo_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gaic_getaddrinfo_cb
_gaic_getaddrinfo_cb:                   ; @gaic_getaddrinfo_cb
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x2
	mov	x21, x0
	ldr	x19, [x2, #16]
	ldr	x8, [x2]
Lloh0:
	adrp	x9, _GAIC_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GAIC_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_tt_assert
Lloh3:
	adrp	x8, _EVUTIL_EAI_CANCEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVUTIL_EAI_CANCEL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x20, #8]
	bl	_tt_assert
LBB0_2:
	add	x0, x20, #12
	bl	_event_del
	mov	x0, x20
	mov	w1, #240
	mov	w2, #24
	bl	_memset
	mov	x0, x20
	bl	_free
Lloh6:
	adrp	x8, _pending@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pending@GOTPAGEOFF]
	ldr	x9, [x8]
	subs	x9, x9, #1
	str	x9, [x8]
	b.gt	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_event_base_loopexit
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GAIC_MAGIC,8,3                 ; @GAIC_MAGIC
	.comm	_EVUTIL_EAI_CANCEL,4,2          ; @EVUTIL_EAI_CANCEL
	.comm	_pending,8,3                    ; @pending
	.no_dead_strip	_gaic_getaddrinfo_cb
.subsections_via_symbols
