	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libworker_enter_result         ## -- Begin function libworker_enter_result
	.p2align	4, 0x90
_libworker_enter_result:                ## @libworker_enter_result
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdi, %r15
	movq	_LDNS_RCODE_SERVFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	leaq	-48(%rbp), %rax
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_parse_reply_in_temp_region
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_reply_find_answer_rrset
	movl	%eax, %r13d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_reply_find_final_cname_target
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_fill_res
	testl	%eax, %eax
	je	LBB0_13
## %bb.3:
	movl	(%rbx), %edi
	callq	_FLAGS_GET_RCODE
	movl	%eax, (%r15)
	movq	24(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.4:
	cmpq	$0, (%rcx)
	je	LBB0_6
## %bb.5:
	movl	$1, 4(%r15)
LBB0_6:
	movq	_LDNS_RCODE_NXDOMAIN@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_8
## %bb.7:
	movl	$1, 8(%r15)
LBB0_8:
	movq	_sec_status_secure@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_10
## %bb.9:
	movl	$1, 12(%r15)
LBB0_10:
	movq	_sec_status_bogus@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_12
## %bb.11:
	movq	_sec_status_secure_sentinel_fail@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_13
LBB0_12:
	movl	$1, 16(%r15)
	jmp	LBB0_13
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_log_err
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RCODE_SERVFAIL,4,2        ## @LDNS_RCODE_SERVFAIL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot parse buf"

	.comm	_LDNS_RCODE_NXDOMAIN,4,2        ## @LDNS_RCODE_NXDOMAIN
	.comm	_sec_status_secure,4,2          ## @sec_status_secure
	.comm	_sec_status_bogus,4,2           ## @sec_status_bogus
	.comm	_sec_status_secure_sentinel_fail,4,2 ## @sec_status_secure_sentinel_fail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libworker_enter_result         ; -- Begin function libworker_enter_result
	.p2align	2
_libworker_enter_result:                ; @libworker_enter_result
	.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	x20, x3
	mov	x8, x2
	mov	x19, x0
Lloh0:
	adrp	x9, _LDNS_RCODE_SERVFAIL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LDNS_RCODE_SERVFAIL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x0]
	add	x2, sp, #8
	mov	x0, x1
	mov	x1, x8
	bl	_parse_reply_in_temp_region
	cbz	x0, LBB0_11
; %bb.1:
	mov	x21, x0
	add	x0, sp, #8
	mov	x1, x21
	bl	_reply_find_answer_rrset
	mov	x22, x0
	add	x0, sp, #8
	mov	x1, x21
	bl	_reply_find_final_cname_target
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	x4, x21
	bl	_fill_res
	cbz	w0, LBB0_12
; %bb.2:
	ldr	w0, [x21]
	bl	_FLAGS_GET_RCODE
	str	w0, [x19]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_5:
Lloh3:
	adrp	x8, _LDNS_RCODE_NXDOMAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_RCODE_NXDOMAIN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_7
; %bb.6:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_7:
Lloh6:
	adrp	x8, _sec_status_secure@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sec_status_secure@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_9
; %bb.8:
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_9:
Lloh9:
	adrp	x8, _sec_status_bogus@GOTPAGE
Lloh10:
	ldr	x8, [x8, _sec_status_bogus@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _sec_status_secure_sentinel_fail@GOTPAGE
Lloh13:
	ldr	x9, [x9, _sec_status_secure_sentinel_fail@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w20
	ccmp	w9, w20, #4, ne
	b.ne	LBB0_12
; %bb.10:
	mov	w8, #1
	str	w8, [x19, #16]
	b	LBB0_12
LBB0_11:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
LBB0_12:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RCODE_SERVFAIL,4,2        ; @LDNS_RCODE_SERVFAIL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot parse buf"

	.comm	_LDNS_RCODE_NXDOMAIN,4,2        ; @LDNS_RCODE_NXDOMAIN
	.comm	_sec_status_secure,4,2          ; @sec_status_secure
	.comm	_sec_status_bogus,4,2           ; @sec_status_bogus
	.comm	_sec_status_secure_sentinel_fail,4,2 ; @sec_status_secure_sentinel_fail
.subsections_via_symbols
