	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_worker_handle_service_reply    ## -- Begin function worker_handle_service_reply
	.p2align	4, 0x90
_worker_handle_service_reply:           ## @worker_handle_service_reply
	.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
	movq	%rcx, %r13
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rdx
	movq	8(%rsi), %r15
	movq	(%rdx), %rax
	movq	(%rax), %r12
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	testl	%r14d, %r14d
	jne	LBB0_7
## %bb.1:
	movq	_VERB_ALGO@GOTPCREL(%rip), %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_sldns_buffer_begin
	movl	%eax, %edi
	callq	_LDNS_QR_WIRE
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_sldns_buffer_begin
	movl	%eax, %edi
	callq	_LDNS_OPCODE_WIRE
	movq	_LDNS_PACKET_QUERY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_sldns_buffer_begin
	movl	%eax, %edi
	callq	_LDNS_QDCOUNT
	cmpl	$2, %eax
	jl	LBB0_5
LBB0_4:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	movq	_NETEVENT_TIMEOUT@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %r14d
LBB0_7:
	movl	(%r12), %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movl	%r14d, %ecx
	callq	_mesh_report_reply
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_worker_mem_report
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_NETEVENT_NOERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"worker svcd callback for qstate %p"

	.comm	_LDNS_PACKET_QUERY,8,3          ## @LDNS_PACKET_QUERY
L_.str.1:                               ## @.str.1
	.asciz	"worker: bad reply handled as timeout"

	.comm	_NETEVENT_TIMEOUT,4,2           ## @NETEVENT_TIMEOUT
	.comm	_NETEVENT_NOERROR,4,2           ## @NETEVENT_NOERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_worker_handle_service_reply    ; -- Begin function worker_handle_service_reply
	.p2align	2
_worker_handle_service_reply:           ; @worker_handle_service_reply
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x3
	mov	x24, x2
	mov	x21, x1
	mov	x23, x0
	ldp	x8, x20, [x1]
	ldr	x9, [x8]
	ldr	x22, [x9]
Lloh0:
	adrp	x25, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x25, [x25, _VERB_ALGO@GOTPAGEOFF]
	ldr	w0, [x25]
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	cbnz	w24, LBB0_6
; %bb.1:
	ldr	w0, [x23]
	bl	_sldns_buffer_begin
	bl	_LDNS_QR_WIRE
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x23]
	bl	_sldns_buffer_begin
	bl	_LDNS_OPCODE_WIRE
Lloh4:
	adrp	x8, _LDNS_PACKET_QUERY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LDNS_PACKET_QUERY@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x23]
	bl	_sldns_buffer_begin
	bl	_LDNS_QDCOUNT
	cmp	w0, #2
	b.lt	LBB0_7
LBB0_4:
	ldr	w0, [x25]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_verbose
Lloh9:
	adrp	x8, _NETEVENT_TIMEOUT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETEVENT_TIMEOUT@GOTPAGEOFF]
LBB0_5:
	ldr	w24, [x8]
LBB0_6:
	ldr	w0, [x22]
	mov	x1, x21
	mov	x2, x19
	mov	x3, x24
	bl	_mesh_report_reply
	mov	x0, x22
	mov	x1, x20
	bl	_worker_mem_report
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
Lloh11:
	adrp	x8, _NETEVENT_NOERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NETEVENT_NOERROR@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"worker svcd callback for qstate %p"

	.comm	_LDNS_PACKET_QUERY,8,3          ; @LDNS_PACKET_QUERY
l_.str.1:                               ; @.str.1
	.asciz	"worker: bad reply handled as timeout"

	.comm	_NETEVENT_TIMEOUT,4,2           ; @NETEVENT_TIMEOUT
	.comm	_NETEVENT_NOERROR,4,2           ; @NETEVENT_NOERROR
.subsections_via_symbols
