	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfr_transfer_nexttarget_or_end
_xfr_transfer_nexttarget_or_end:        ## @xfr_transfer_nexttarget_or_end
	.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	%r12
	pushq	%rbx
	subq	$272, %rsp                      ## imm = 0x110
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpq	(%rsi), %rax
	sete	%dil
	callq	_log_assert
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_xfr_transfer_lookup_host
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_xfr_transfer_move_to_next_lookup
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_xfr_transfer_nextmaster
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_xfr_transfer_end_of_list
	testl	%eax, %eax
	jne	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_xfr_transfer_current_master
	movq	24(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_xfr_transfer_init_fetch
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_5
## %bb.10:
	movq	%rbx, %rdi
	addq	$272, %rsp                      ## imm = 0x110
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lock_basic_unlock              ## TAILCALL
LBB0_12:
	movq	_verbosity@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_VERB_ALGO@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jl	LBB0_14
## %bb.13:
	movl	16(%rbx), %edi
	leaq	-304(%rbp), %r15
	movq	%r15, %rsi
	callq	_dname_str
	movq	(%r12), %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	callq	_verbose
LBB0_14:
	movq	%rbx, %rdi
	callq	_xfr_transfer_disown
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	jne	LBB0_16
## %bb.15:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_xfr_set_timeout
	jmp	LBB0_16
LBB0_8:
	movq	_verbosity@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_VERB_ALGO@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jl	LBB0_16
## %bb.9:
	movl	16(%rbx), %edi
	leaq	-304(%rbp), %r14
	movq	%r14, %rsi
	callq	_dname_str
	movq	(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_verbose
LBB0_16:
	movq	%rbx, %rdi
	callq	_lock_basic_unlock
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_5
## %bb.17:
	addq	$272, %rsp                      ## imm = 0x110
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_VERB_ALGO,8,3                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auth zone %s transfer next target lookup"

L_.str.1:                               ## @.str.1
	.asciz	"auth zone %s transfer failed, wait"

	.no_dead_strip	_xfr_transfer_nexttarget_or_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfr_transfer_nexttarget_or_end
_xfr_transfer_nexttarget_or_end:        ; @xfr_transfer_nexttarget_or_end
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
	ldr	x9, [x1]
	cmp	x8, x9
	cset	w0, eq
	bl	_log_assert
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_xfr_transfer_lookup_host
	cbnz	x0, LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_xfr_transfer_move_to_next_lookup
	b	LBB0_1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_xfr_transfer_nextmaster
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_xfr_transfer_end_of_list
	cbnz	w0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_xfr_transfer_current_master
	ldr	x8, [x19, #24]
	str	w0, [x8, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_xfr_transfer_init_fetch
	cbz	x0, LBB0_4
; %bb.7:
	ldur	x8, [x29, #-40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.8:
	mov	x0, x19
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	b	_lock_basic_unlock
LBB0_9:
Lloh6:
	adrp	x8, _verbosity@GOTPAGE
Lloh7:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x21, _VERB_ALGO@GOTPAGE
Lloh10:
	ldr	x21, [x21, _VERB_ALGO@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.lt	LBB0_11
; %bb.10:
	ldr	w0, [x19, #16]
	add	x1, sp, #8
	bl	_dname_str
	ldr	x0, [x21]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	bl	_verbose
LBB0_11:
	mov	x0, x19
	bl	_xfr_transfer_disown
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbnz	x8, LBB0_15
; %bb.12:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	mov	w3, #0
	bl	_xfr_set_timeout
	b	LBB0_15
LBB0_13:
Lloh13:
	adrp	x8, _verbosity@GOTPAGE
Lloh14:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
Lloh16:
	adrp	x20, _VERB_ALGO@GOTPAGE
Lloh17:
	ldr	x20, [x20, _VERB_ALGO@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.lt	LBB0_15
; %bb.14:
	ldr	w0, [x19, #16]
	add	x1, sp, #8
	bl	_dname_str
	ldr	x0, [x20]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_verbose
LBB0_15:
	mov	x0, x19
	bl	_lock_basic_unlock
	ldur	x8, [x29, #-40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_VERB_ALGO,8,3                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auth zone %s transfer next target lookup"

l_.str.1:                               ; @.str.1
	.asciz	"auth zone %s transfer failed, wait"

	.no_dead_strip	_xfr_transfer_nexttarget_or_end
.subsections_via_symbols
