	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function request_new
_request_new:                           ## @request_new
	.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	$360, %rsp                      ## imm = 0x168
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -344(%rbp)                ## 4-byte Spill
	movl	%edx, -348(%rbp)                ## 4-byte Spill
	movq	%rsi, -368(%rbp)                ## 8-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r12
	movq	8(%rdi), %rbx
	movq	%rcx, -360(%rbp)                ## 8-byte Spill
	movq	%rcx, %rdi
	callq	_strlen
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_evdns_request_len
	movq	%rax, %r13
	movl	$65535, -340(%rbp)              ## 4-byte Folded Spill
                                        ## imm = 0xFFFF
	movq	%rbx, -384(%rbp)                ## 8-byte Spill
	cmpq	%rbx, %r12
	jge	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_transaction_id_pick
	movl	%eax, -340(%rbp)                ## 4-byte Spill
LBB0_2:
	movq	%r13, -392(%rbp)                ## 8-byte Spill
	leal	96(%r13), %edi
	callq	_mm_malloc
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_ASSERT_LOCKED
	testq	%r13, %r13
	je	LBB0_19
## %bb.3:
	cmpq	$256, %r14                      ## imm = 0x100
	jae	LBB0_18
## %bb.4:
	movq	%r12, -376(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$96, %edx
	callq	_memset
	movq	%r15, 80(%r13)
	leaq	88(%r13), %rdi
	movl	24(%r15), %esi
	movq	_evdns_request_timeout_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rcx
	callq	_evtimer_assign
	cmpq	$0, 16(%r15)
	je	LBB0_5
## %bb.6:
	leaq	-304(%rbp), %rdi
	movq	-360(%rbp), %rsi                ## 8-byte Reload
	movl	$256, %edx                      ## imm = 0x100
	callq	_strlcpy
	leaq	7(%r14), %rsi
	shrq	$3, %rsi
	leaq	-336(%rbp), %rdi
	callq	_evutil_secure_rng_get_bytes
	testq	%r14, %r14
	je	LBB0_11
## %bb.7:
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	%ebx
	cmpq	%rbx, %r14
	jbe	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	-304(%rbp,%rbx), %edi
	callq	_EVUTIL_ISALPHA_
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rax
	shrq	$3, %rax
	movzbl	-336(%rbp,%rax), %eax
	movl	%ebx, %ecx
	andb	$7, %cl
	movzbl	%cl, %ecx
	btl	%ecx, %eax
	setb	%al
	movzbl	-304(%rbp,%rbx), %ecx
	andb	$-33, %cl
	shlb	$5, %al
	orb	%cl, %al
	movb	%al, -304(%rbp,%rbx)
	jmp	LBB0_10
LBB0_11:
	movq	-368(%rbp), %r12                ## 8-byte Reload
	leaq	-304(%rbp), %rdi
	jmp	LBB0_12
LBB0_5:
	movq	-360(%rbp), %rdi                ## 8-byte Reload
	movq	-368(%rbp), %r12                ## 8-byte Reload
LBB0_12:
	movq	%r13, %r9
	addq	$384, %r9                       ## imm = 0x180
	movq	%r9, 72(%r13)
	movl	$1, (%r13)
	movq	_CLASS_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-392(%rbp), %rax                ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%r14, %rsi
	movl	-340(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edx
	movl	-348(%rbp), %r14d               ## 4-byte Reload
	movl	%r14d, %ecx
	callq	_evdns_request_data_build
	testl	%eax, %eax
	js	LBB0_18
## %bb.13:
	movq	16(%rbp), %rcx
	movl	%eax, 4(%r13)
	movl	%ebx, 8(%r13)
	movq	$0, 64(%r13)
	movl	%r14d, 12(%r13)
	movq	%rcx, 56(%r13)
	movl	-344(%rbp), %eax                ## 4-byte Reload
	movl	%eax, 48(%r13)
	movq	-384(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, -376(%rbp)                ## 8-byte Folded Reload
	jge	LBB0_14
## %bb.15:
	movq	%r15, %rdi
	callq	_nameserver_pick
	jmp	LBB0_16
LBB0_18:
	movq	%r13, %rdi
	callq	_mm_free
LBB0_19:
	xorl	%r13d, %r13d
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	movq	%r13, %rax
	addq	$360, %rsp                      ## imm = 0x168
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	xorl	%eax, %eax
LBB0_16:
	movq	%rax, 40(%r13)
	movq	$0, 24(%r13)
	movl	$0, 32(%r13)
	movq	%r12, 16(%r13)
	testq	%r12, %r12
	je	LBB0_20
## %bb.17:
	movq	%r13, 8(%r12)
	movq	%r15, (%r12)
	jmp	LBB0_20
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_evdns_request_timeout_callback,4,2 ## @evdns_request_timeout_callback
	.comm	_CLASS_INET,4,2                 ## @CLASS_INET
	.no_dead_strip	_request_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function request_new
_request_new:                           ; @request_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #432
	.cfi_def_cfa_offset 432
	stp	x28, x27, [sp, #336]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #352]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #368]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #384]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #400]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #416]            ; 16-byte Folded Spill
	add	x29, sp, #416
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x6, [sp, #16]                   ; 8-byte Folded Spill
	mov	x24, x5
	mov	x28, x3
	str	w2, [sp, #28]                   ; 4-byte Folded Spill
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldp	x22, x23, [x0]
	mov	x0, x3
	bl	_strlen
	mov	x26, x0
	bl	_evdns_request_len
	mov	x25, x0
	cmp	x22, x23
	b.ge	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_transaction_id_pick
	mov	x27, x0
	b	LBB0_3
LBB0_2:
	mov	w27, #65535
LBB0_3:
	add	w0, w25, #96
	bl	_mm_malloc
	mov	x21, x0
	mov	x0, x20
	bl	_ASSERT_LOCKED
	cbz	x21, LBB0_18
; %bb.4:
	cmp	x26, #256
	b.hs	LBB0_17
; %bb.5:
	mov	x0, x21
	mov	w1, #0
	mov	w2, #96
	bl	_memset
	str	x20, [x21, #80]
	add	x0, x21, #88
	ldr	w1, [x20, #24]
Lloh3:
	adrp	x8, _evdns_request_timeout_callback@GOTPAGE
Lloh4:
	ldr	x8, [x8, _evdns_request_timeout_callback@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x3, x21
	bl	_evtimer_assign
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_12
; %bb.6:
	str	w24, [sp, #4]                   ; 4-byte Folded Spill
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	add	x19, sp, #64
	add	x0, sp, #64
	mov	x1, x28
	mov	w2, #256
	bl	_strlcpy
	add	x8, x26, #7
	lsr	x1, x8, #3
	add	x28, sp, #32
	add	x0, sp, #32
	bl	_evutil_secure_rng_get_bytes
	cbz	x26, LBB0_11
; %bb.7:
	mov	x24, #0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w24, w24, #1
	cmp	x26, x24
	b.ls	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x19, x24]
	bl	_EVUTIL_ISALPHA_
	cbz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	lsr	x8, x24, #3
	ldrb	w8, [x28, x8]
	and	w9, w24, #0x7
	ldrb	w10, [x19, x24]
	lsr	w8, w8, w9
	and	w9, w10, #0xffffffdf
	and	w8, w8, #0x1
	orr	w8, w9, w8, lsl #5
	strb	w8, [x19, x24]
	b	LBB0_8
LBB0_11:
	add	x28, sp, #64
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w24, [sp, #4]                   ; 4-byte Folded Reload
LBB0_12:
	add	x5, x21, #384
	str	x5, [x21, #72]
	mov	w8, #1
	str	w8, [x21]
Lloh6:
	adrp	x8, _CLASS_INET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CLASS_INET@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x0, x28
	mov	x1, x26
	mov	x2, x27
	ldr	w26, [sp, #28]                  ; 4-byte Folded Reload
	mov	x3, x26
	mov	x6, x25
	bl	_evdns_request_data_build
	tbnz	w0, #31, LBB0_17
; %bb.13:
	mov	x8, x0
	mov	x0, #0
	stp	w8, w27, [x21, #4]
	str	w26, [x21, #12]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	stp	x8, xzr, [x21, #56]
	str	w24, [x21, #48]
	cmp	x22, x23
	b.ge	LBB0_15
; %bb.14:
	mov	x0, x20
	bl	_nameserver_pick
LBB0_15:
	str	x0, [x21, #40]
	str	wzr, [x21, #32]
	stp	x19, xzr, [x21, #16]
	cbz	x19, LBB0_18
; %bb.16:
	stp	x20, x21, [x19]
	b	LBB0_18
LBB0_17:
	mov	x0, x21
	bl	_mm_free
	mov	x21, #0
LBB0_18:
	ldur	x8, [x29, #-96]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	mov	x0, x21
	ldp	x29, x30, [sp, #416]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #400]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #384]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #368]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #352]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #336]            ; 16-byte Folded Reload
	add	sp, sp, #432
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_evdns_request_timeout_callback,4,2 ; @evdns_request_timeout_callback
	.comm	_CLASS_INET,4,2                 ; @CLASS_INET
	.no_dead_strip	_request_new
.subsections_via_symbols
