	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function forward_request
_forward_request:                       ## @forward_request
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	40(%rsi), %rsi
	movq	%rsi, -32(%rbp)
	movq	16(%rbx), %rax
	movq	%rax, -40(%rbp)
	cmpq	$0, 48(%rbx)
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movq	%rsi, %r15
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	8(%rax), %r15
	movq	%r15, -32(%rbp)
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	jmp	LBB0_4
LBB0_3:
	movq	24(%rbx), %rax
	movq	_LDNS_RR_TYPE_DS@GOTPCREL(%rip), %rcx
	movq	%rsi, %r15
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_4:
	movq	%rsi, %rdi
	callq	_dname_is_root
	movq	%r15, %rsi
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	leaq	-32(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	callq	_dname_remove_label
	movq	-32(%rbp), %rsi
LBB0_6:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	32(%rbx), %edx
	callq	_forwards_lookup
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	_BIT_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 8(%rbx)
	movl	(%r14), %esi
	movq	%rax, %rdi
	callq	_delegpt_copy
	movq	%rax, (%rbx)
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_verbose
	movl	$1, %eax
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_DS,8,3            ## @LDNS_RR_TYPE_DS
	.comm	_BIT_RD,4,2                     ## @BIT_RD
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"forwarding request"

	.no_dead_strip	_forward_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function forward_request
_forward_request:                       ; @forward_request
	.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	x19, x1
	mov	x20, x0
	ldr	x1, [x1, #40]
	ldr	x8, [x19, #48]
	ldr	x9, [x19, #16]
	stp	x9, x1, [sp]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	mov	x21, x1
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x21, [x8, #8]
	str	x21, [sp, #8]
	ldr	x8, [x8]
	str	x8, [sp]
	b	LBB0_4
LBB0_3:
	ldr	x8, [x19, #24]
Lloh0:
	adrp	x9, _LDNS_RR_TYPE_DS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LDNS_RR_TYPE_DS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	mov	x21, x1
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_4:
	mov	x0, x1
	bl	_dname_is_root
	mov	x1, x21
	cbnz	w0, LBB0_6
; %bb.5:
	add	x0, sp, #8
	mov	x1, sp
	bl	_dname_remove_label
	ldr	x1, [sp, #8]
LBB0_6:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	ldr	w2, [x19, #32]
	bl	_forwards_lookup
	cbz	x0, LBB0_8
; %bb.7:
Lloh3:
	adrp	x8, _BIT_RD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BIT_RD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	ldr	w1, [x20]
	bl	_delegpt_copy
	str	x0, [x19]
Lloh6:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	mov	w0, #1
LBB0_8:
	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 AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_DS,8,3            ; @LDNS_RR_TYPE_DS
	.comm	_BIT_RD,4,2                     ; @BIT_RD
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"forwarding request"

	.no_dead_strip	_forward_request
.subsections_via_symbols
