	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iter_operate                   ## -- Begin function iter_operate
	.p2align	4, 0x90
_iter_operate:                          ## @iter_operate
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movslq	%edx, %r13
	movq	(%rax,%r13,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	(%rax,%r13,8), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%rcx,%r13,4), %edi
	callq	_strextstate
	movl	%eax, %r14d
	movl	%r15d, %edi
	callq	_strmodulevent
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_verbose
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	_VERB_QUERY@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	8(%r12), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_log_query_info
	movq	8(%r12), %rax
	cmpq	(%rbx), %rax
	je	LBB0_3
## %bb.2:
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	callq	_log_query_info
LBB0_3:
	movq	_module_event_pass@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_11
## %bb.4:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iter_handle                    ## TAILCALL
LBB0_5:
	movq	_module_event_new@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_module_event_pass@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_12
LBB0_7:
	movq	%r12, %rdi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	callq	_iter_new
	testl	%eax, %eax
	je	LBB0_8
## %bb.10:
	movq	(%r12), %rax
	movq	(%rax,%r13,8), %rsi
	movq	%r12, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_process_request                ## TAILCALL
LBB0_11:
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	testq	%r8, %r8
	je	LBB0_12
## %bb.16:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r9d
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_process_response               ## TAILCALL
LBB0_12:
	movq	_module_event_error@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_14
## %bb.13:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_15
LBB0_14:
	leaq	L_.str.6(%rip), %rdi
	callq	_log_err
	leaq	L_.str.7(%rip), %rsi
LBB0_15:
	movq	%r12, %rdi
	callq	_errinf
	movq	_LDNS_RCODE_SERVFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_errinf
	movq	_LDNS_RCODE_SERVFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error_response                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_QUERY,4,2                 ## @VERB_QUERY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iterator[module %d] operate: extstate:%s event:%s"

L_.str.1:                               ## @.str.1
	.asciz	"iterator operate: query"

L_.str.2:                               ## @.str.2
	.asciz	"iterator operate: chased to"

	.comm	_module_event_new,4,2           ## @module_event_new
	.comm	_module_event_pass,4,2          ## @module_event_pass
L_.str.3:                               ## @.str.3
	.asciz	"malloc failure, new iterator module allocation"

	.comm	_LDNS_RCODE_SERVFAIL,4,2        ## @LDNS_RCODE_SERVFAIL
	.comm	_module_event_error,4,2         ## @module_event_error
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
L_.str.4:                               ## @.str.4
	.asciz	"got called with event error, giving up"

L_.str.5:                               ## @.str.5
	.asciz	"iterator module got the error event"

L_.str.6:                               ## @.str.6
	.asciz	"bad event for iterator"

L_.str.7:                               ## @.str.7
	.asciz	"iterator module received wrong event"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iter_operate                   ; -- Begin function iter_operate
	.p2align	2
_iter_operate:                          ; @iter_operate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x23, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldp	x9, x8, [x0, #16]
	ldr	x8, [x8]
	sbfiz	x10, x19, #3, #32
	ldr	x22, [x8, x10]
	ldr	x8, [x0]
	ldr	x24, [x8, x10]
Lloh0:
	adrp	x27, _VERB_QUERY@GOTPAGE
Lloh1:
	ldr	x27, [x27, _VERB_QUERY@GOTPAGEOFF]
	ldr	w25, [x27]
	ldr	w0, [x9, w2, sxtw #2]
	bl	_strextstate
	mov	x26, x0
	mov	x0, x21
	bl	_strmodulevent
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x0, [sp, #8]
	str	x19, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x25
	bl	_verbose
	cbz	x24, LBB0_5
; %bb.1:
	ldr	w0, [x27]
	add	x2, x20, #8
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_log_query_info
	ldr	x8, [x20, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x27]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x24
	bl	_log_query_info
LBB0_3:
Lloh8:
	adrp	x8, _module_event_pass@GOTPAGE
Lloh9:
	ldr	x8, [x8, _module_event_pass@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_8
; %bb.4:
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	mov	x3, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_iter_handle
LBB0_5:
Lloh11:
	adrp	x8, _module_event_new@GOTPAGE
Lloh12:
	ldr	x8, [x8, _module_event_new@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _module_event_pass@GOTPAGE
Lloh15:
	ldr	x9, [x9, _module_event_pass@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w21
	ccmp	w9, w21, #4, ne
	b.ne	LBB0_10
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_iter_new
	cbz	w0, LBB0_13
; %bb.7:
	sxtw	x8, w19
	ldr	x9, [x20]
	ldr	x1, [x9, x8, lsl #3]
	mov	x0, x20
	mov	x2, x22
	mov	x3, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_process_request
LBB0_8:
	cbz	x23, LBB0_10
; %bb.9:
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	mov	x3, x19
	mov	x4, x23
	mov	x5, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_process_response
LBB0_10:
Lloh17:
	adrp	x8, _module_event_error@GOTPAGE
Lloh18:
	ldr	x8, [x8, _module_event_error@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_12
; %bb.11:
Lloh20:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_verbose
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_14
LBB0_12:
Lloh27:
	adrp	x0, l_.str.6@PAGE
Lloh28:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_log_err
Lloh29:
	adrp	x1, l_.str.7@PAGE
Lloh30:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh31:
	adrp	x1, l_.str.3@PAGE
Lloh32:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_14:
	mov	x0, x20
	bl	_errinf
Lloh33:
	adrp	x8, _LDNS_RCODE_SERVFAIL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _LDNS_RCODE_SERVFAIL@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_error_response
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_QUERY,4,2                 ; @VERB_QUERY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iterator[module %d] operate: extstate:%s event:%s"

l_.str.1:                               ; @.str.1
	.asciz	"iterator operate: query"

l_.str.2:                               ; @.str.2
	.asciz	"iterator operate: chased to"

	.comm	_module_event_new,4,2           ; @module_event_new
	.comm	_module_event_pass,4,2          ; @module_event_pass
l_.str.3:                               ; @.str.3
	.asciz	"malloc failure, new iterator module allocation"

	.comm	_LDNS_RCODE_SERVFAIL,4,2        ; @LDNS_RCODE_SERVFAIL
	.comm	_module_event_error,4,2         ; @module_event_error
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
l_.str.4:                               ; @.str.4
	.asciz	"got called with event error, giving up"

l_.str.5:                               ; @.str.5
	.asciz	"iterator module got the error event"

l_.str.6:                               ; @.str.6
	.asciz	"bad event for iterator"

l_.str.7:                               ; @.str.7
	.asciz	"iterator module received wrong event"

.subsections_via_symbols
