	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfr_probe_lookup_host
_xfr_probe_lookup_host:                 ## @xfr_probe_lookup_host
	.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	$600, %rsp                      ## imm = 0x258
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rsp, -632(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -576(%rbp)
	movq	%rdi, -584(%rbp)                ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	8(%rax), %r15
	movq	_LDNS_MAX_DOMAINLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	incl	%r14d
	leaq	(,%r14,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	xorl	%ebx, %ebx
	testq	%r15, %r15
	je	LBB0_17
## %bb.1:
	movq	%rax, -568(%rbp)                ## 8-byte Spill
	movq	_BIT_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -572(%rbp)                ## 4-byte Spill
	movq	8(%r13), %r12
	movl	(%r15), %edi
	leaq	-640(%rbp), %rsi
	leaq	-576(%rbp), %rdx
	callq	_extstrtoaddr
	testq	%rax, %rax
	jne	LBB0_17
## %bb.2:
	movq	%r12, -624(%rbp)                ## 8-byte Spill
	cmpq	$0, 8(%r15)
	je	LBB0_6
## %bb.3:
	cmpl	$0, 4(%r15)
	je	LBB0_4
LBB0_6:
	shll	$2, %r14d
	movl	%r14d, -616(%rbp)
	movl	(%r15), %edi
	leaq	-616(%rbp), %rdx
	movq	-568(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_sldns_str2wire_dname_buf
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rdi
LBB0_16:
	movl	(%r15), %esi
	callq	_log_err
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_8:
	movq	%rbx, -592(%rbp)
	movq	-584(%rbp), %rbx                ## 8-byte Reload
	movl	16(%rbx), %eax
	movl	%eax, -596(%rbp)
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -600(%rbp)
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -600(%rbp)
LBB0_10:
	movq	$0, -608(%rbp)
	movq	_verbosity@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_VERB_ALGO@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	movq	_LDNS_MAX_DOMAINLEN@GOTPCREL(%rip), %rax
	jl	LBB0_12
## %bb.11:
	movq	%rsp, -568(%rbp)                ## 8-byte Spill
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	4(%rbx), %edi
	movq	%r12, %rsi
	callq	_dname_str
	leaq	L_.str.1(%rip), %rdx
	leaq	-560(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movq	%r12, %rcx
	callq	_snprintf
	movq	(%r14), %rdi
	leaq	-616(%rbp), %rdx
	movq	%rbx, %rsi
	movq	-584(%rbp), %rbx                ## 8-byte Reload
	callq	_log_query_info
	movq	-568(%rbp), %rsp                ## 8-byte Reload
LBB0_12:
	movl	$1, -560(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -536(%rbp)
	movq	_EDNS_DO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -544(%rbp)
	movq	$0, -552(%rbp)
	movq	-624(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	callq	_sldns_buffer_capacity
	movl	%eax, %ecx
	movl	$65535, %eax                    ## imm = 0xFFFF
	cmpl	$65534, %ecx                    ## imm = 0xFFFE
	movl	-572(%rbp), %r12d               ## 4-byte Reload
	jg	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	callq	_sldns_buffer_capacity
LBB0_14:
	movl	%eax, -556(%rbp)
	movq	%rbx, %rdi
	callq	_lock_basic_unlock
	movl	(%r13), %edi
	movq	_auth_xfer_probe_lookup_callback@GOTPCREL(%rip), %rax
	leaq	-616(%rbp), %rsi
	leaq	-560(%rbp), %rcx
	movl	%r12d, %edx
	movq	%r14, %r8
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%rax
	callq	_mesh_new_callback
	addq	$16, %rsp
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_lock_basic_lock
	movl	$1, %ebx
	testl	%r14d, %r14d
	je	LBB0_15
LBB0_17:
	movq	-632(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%r15), %edi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%r15), %edi
	movl	$47, %esi
	callq	_strchr
	movq	%rax, %r12
	movl	(%r15), %edi
	movl	$47, %esi
	callq	_strrchr
	cmpq	%rax, %r12
	jne	LBB0_6
	jmp	LBB0_17
LBB0_15:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_16
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BIT_RD,4,2                     ## @BIT_RD
	.comm	_LDNS_MAX_DOMAINLEN,4,2         ## @LDNS_MAX_DOMAINLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot parse host name of master %s"

	.comm	_LDNS_RR_TYPE_A,4,2             ## @LDNS_RR_TYPE_A
	.comm	_LDNS_RR_TYPE_AAAA,4,2          ## @LDNS_RR_TYPE_AAAA
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_VERB_ALGO,8,3                  ## @VERB_ALGO
L_.str.1:                               ## @.str.1
	.asciz	"auth zone %s: master lookup for task_probe"

	.comm	_EDNS_DO,4,2                    ## @EDNS_DO
	.comm	_auth_xfer_probe_lookup_callback,4,2 ## @auth_xfer_probe_lookup_callback
L_.str.2:                               ## @.str.2
	.asciz	"out of memory lookup up master %s"

	.no_dead_strip	_xfr_probe_lookup_host
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfr_probe_lookup_host
_xfr_probe_lookup_host:                 ; @xfr_probe_lookup_host
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #592
	mov	x19, sp
	mov	x22, x1
	mov	x20, x0
	mov	x26, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	str	wzr, [x19, #52]
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _BIT_RD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BIT_RD@GOTPAGEOFF]
	ldr	x27, [x8, #8]
Lloh5:
	ldr	w21, [x9]
Lloh6:
	adrp	x28, _LDNS_MAX_DOMAINLEN@GOTPAGE
Lloh7:
	ldr	x28, [x28, _LDNS_MAX_DOMAINLEN@GOTPAGEOFF]
	ldr	w8, [x28]
	add	w25, w8, #1
	lsl	x8, x25, #2
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	cbz	x27, LBB0_7
; %bb.1:
	ldr	x23, [x22, #8]
	ldr	w0, [x27]
	add	x1, x19, #56
	add	x2, x19, #52
	bl	_extstrtoaddr
	cbnz	x0, LBB0_7
; %bb.2:
	ldr	x8, [x27, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x27, #4]
	cbz	w8, LBB0_16
LBB0_4:
	lsl	w8, w25, #2
	str	w8, [x19, #16]
	ldr	w0, [x27]
	add	x2, x19, #16
	mov	x1, x24
	bl	_sldns_str2wire_dname_buf
	cbz	x0, LBB0_10
; %bb.5:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	ldr	w1, [x27]
	bl	_log_err
LBB0_7:
	mov	w0, #0
LBB0_8:
	mov	sp, x26
	ldur	x8, [x29, #-96]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.9:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	str	x24, [x19, #40]
Lloh15:
	adrp	x8, _LDNS_RR_TYPE_A@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LDNS_RR_TYPE_A@GOTPAGEOFF]
	ldr	w9, [x20, #16]
Lloh17:
	ldr	w8, [x8]
	stp	w8, w9, [x19, #32]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.11:
Lloh18:
	adrp	x8, _LDNS_RR_TYPE_AAAA@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LDNS_RR_TYPE_AAAA@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x19, #32]
LBB0_12:
Lloh21:
	adrp	x8, _verbosity@GOTPAGE
Lloh22:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
	str	xzr, [x19, #24]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x25, _VERB_ALGO@GOTPAGE
Lloh25:
	ldr	x25, [x25, _VERB_ALGO@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.lt	LBB0_14
; %bb.13:
	mov	x8, sp
	str	x8, [x19, #8]                   ; 8-byte Folded Spill
	ldr	w8, [x28]
	add	w8, w8, #1
	mov	x9, x8
Lloh26:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh27:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	ldr	w0, [x20, #4]
	mov	x1, x24
	bl	_dname_str
Lloh28:
	adrp	x2, l_.str.1@PAGE
Lloh29:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, x19, #64
	mov	w1, #512
	mov	x3, x24
	bl	_snprintf
	ldr	x0, [x25]
	add	x1, x19, #64
	add	x2, x19, #16
	bl	_log_query_info
	ldr	x8, [x19, #8]                   ; 8-byte Folded Reload
	mov	sp, x8
LBB0_14:
	mov	w8, #1
	str	w8, [x19, #64]
	stp	xzr, xzr, [x19, #88]
Lloh30:
	adrp	x8, _EDNS_DO@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EDNS_DO@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x19, #80]
	str	xzr, [x19, #72]
	mov	x0, x23
	bl	_sldns_buffer_capacity
	mov	w8, #65534
	cmp	w0, w8
	b.gt	LBB0_18
; %bb.15:
	mov	x0, x23
	bl	_sldns_buffer_capacity
	b	LBB0_19
LBB0_16:
	ldr	w0, [x27]
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.17:
	ldr	w0, [x27]
	mov	w1, #47
	bl	_strchr
	str	x0, [x19, #8]                   ; 8-byte Folded Spill
	ldr	w0, [x27]
	mov	w1, #47
	bl	_strrchr
	ldr	x8, [x19, #8]                   ; 8-byte Folded Reload
	cmp	x8, x0
	b.ne	LBB0_4
	b	LBB0_7
LBB0_18:
	mov	w0, #65535
LBB0_19:
	str	w0, [x19, #68]
	mov	x0, x20
	bl	_lock_basic_unlock
	ldr	w0, [x22]
Lloh33:
	adrp	x6, _auth_xfer_probe_lookup_callback@GOTPAGE
Lloh34:
	ldr	x6, [x6, _auth_xfer_probe_lookup_callback@GOTPAGEOFF]
	add	x1, x19, #16
	add	x3, x19, #64
	mov	x2, x21
	mov	x4, x23
	mov	w5, #0
	mov	x7, x20
	bl	_mesh_new_callback
	mov	x21, x0
	mov	x0, x20
	bl	_lock_basic_lock
	cbz	w21, LBB0_21
; %bb.20:
	mov	w0, #1
	b	LBB0_8
LBB0_21:
Lloh35:
	adrp	x0, l_.str.2@PAGE
Lloh36:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_BIT_RD,4,2                     ; @BIT_RD
	.comm	_LDNS_MAX_DOMAINLEN,4,2         ; @LDNS_MAX_DOMAINLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot parse host name of master %s"

	.comm	_LDNS_RR_TYPE_A,4,2             ; @LDNS_RR_TYPE_A
	.comm	_LDNS_RR_TYPE_AAAA,4,2          ; @LDNS_RR_TYPE_AAAA
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_VERB_ALGO,8,3                  ; @VERB_ALGO
l_.str.1:                               ; @.str.1
	.asciz	"auth zone %s: master lookup for task_probe"

	.comm	_EDNS_DO,4,2                    ; @EDNS_DO
	.comm	_auth_xfer_probe_lookup_callback,4,2 ; @auth_xfer_probe_lookup_callback
l_.str.2:                               ; @.str.2
	.asciz	"out of memory lookup up master %s"

	.no_dead_strip	_xfr_probe_lookup_host
.subsections_via_symbols
