	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evdns_base_resolve_ipv4        ## -- Begin function evdns_base_resolve_ipv4
	.p2align	4, 0x90
_evdns_base_resolve_ipv4:               ## @evdns_base_resolve_ipv4
	.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
	movq	%r8, %r15
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_EVDNS_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdx
	callq	_log
	movl	$1, %edi
	movl	$8, %esi
	callq	_mm_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_EVDNS_LOCK
	movq	_DNS_QUERY_NO_SEARCH@GOTPCREL(%rip), %rax
	movq	_TYPE_A@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%r12d, (%rax)
	je	LBB0_5
## %bb.3:
	movq	%r15, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rcx
	movl	%r12d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_request_new
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %rdi
	callq	_request_submit
LBB0_6:
	cmpq	$0, (%rbx)
	je	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	callq	_EVDNS_UNLOCK
	jmp	LBB0_9
LBB0_1:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r15, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rcx
	movl	%r12d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_search_request_new
	cmpq	$0, (%rbx)
	jne	LBB0_8
LBB0_7:
	movq	%rbx, %rdi
	callq	_mm_free
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EVDNS_LOG_DEBUG,4,2            ## @EVDNS_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Resolve requested for %s"

	.comm	_DNS_QUERY_NO_SEARCH,4,2        ## @DNS_QUERY_NO_SEARCH
	.comm	_TYPE_A,4,2                     ## @TYPE_A
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evdns_base_resolve_ipv4        ; -- Begin function evdns_base_resolve_ipv4
	.p2align	2
_evdns_base_resolve_ipv4:               ; @evdns_base_resolve_ipv4
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _EVDNS_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVDNS_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x24
	bl	_log
	mov	w0, #1
	mov	w1, #8
	bl	_mm_calloc
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_EVDNS_LOCK
Lloh5:
	adrp	x8, _DNS_QUERY_NO_SEARCH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DNS_QUERY_NO_SEARCH@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _TYPE_A@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TYPE_A@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x1, x20
	mov	x3, x24
	mov	x4, x23
	mov	x5, x22
	mov	x6, x21
	tst	w8, w23
	b.eq	LBB0_7
; %bb.2:
	bl	_request_new
	cbz	x0, LBB0_4
; %bb.3:
	bl	_request_submit
LBB0_4:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_EVDNS_UNLOCK
LBB0_6:
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	_search_request_new
	ldr	x8, [x20]
	cbnz	x8, LBB0_5
LBB0_8:
	mov	x0, x20
	bl	_mm_free
	mov	x20, #0
	b	LBB0_5
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EVDNS_LOG_DEBUG,4,2            ; @EVDNS_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Resolve requested for %s"

	.comm	_DNS_QUERY_NO_SEARCH,4,2        ; @DNS_QUERY_NO_SEARCH
	.comm	_TYPE_A,4,2                     ; @TYPE_A
.subsections_via_symbols
