	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_axfr_start                ## -- Begin function ldns_axfr_start
	.p2align	4, 0x90
_ldns_axfr_start:                       ## @ldns_axfr_start
	.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	$0, -72(%rbp)
	movq	$0, -56(%rbp)
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_ldns_resolver_nameserver_count
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	_ldns_rdf_clone
	movq	_LDNS_RR_TYPE_AXFR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_ldns_pkt_query_new
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_ldns_resolver_source
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	callq	_ldns_resolver_source
	leaq	-72(%rbp), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_ldns_rdf2native_sockaddr_storage_port
	jmp	LBB0_8
LBB0_2:
	movq	_LDNS_STATUS_ERR@GOTPCREL(%rip), %rax
LBB0_32:
	movq	(%rax), %r12
LBB0_33:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_LDNS_STATUS_ADDRESS_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_6:
	xorl	%eax, %eax
LBB0_8:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_ldns_resolver_nameserver_count
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	-56(%rbp), %r14d
	movl	-72(%rbp), %r13d
	movq	%r15, %rdi
	callq	_ldns_resolver_timeout
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_ldns_tcp_connect_from
	movl	%eax, 8(%r15)
LBB0_21:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r12
	movq	%r15, %rdi
	callq	_ldns_resolver_nameserver_count
	cmpq	%rax, %r12
	jae	LBB0_22
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%r15), %eax
	movq	_SOCK_INVALID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_22
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	callq	_LDNS_FREE
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r15), %rax
	movl	(%rax,%r12,4), %ebx
	movq	%r15, %rdi
	callq	_ldns_resolver_port
	movl	%ebx, %edi
	movl	%eax, %esi
	leaq	-56(%rbp), %rdx
	callq	_ldns_rdf2native_sockaddr_storage
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r15, %rdi
	callq	_ldns_resolver_ip6
	movq	_LDNS_RESOLV_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%rbx), %rax
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r15, %rdi
	callq	_ldns_resolver_ip6
	movq	_LDNS_RESOLV_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	callq	_LDNS_FREE
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_9:
	xorl	%ebx, %ebx
LBB0_22:
	movl	8(%r15), %eax
	movq	_SOCK_INVALID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_24
## %bb.23:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ldns_pkt_free
	movq	%rbx, %rdi
	callq	_LDNS_FREE
	movq	_LDNS_STATUS_NETWORK_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_24:
	movq	_LDNS_MAX_PACKETLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ldns_buffer_new
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_ldns_pkt2buffer_wire
	movq	%rax, %r12
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_27
## %bb.28:
	movl	8(%r15), %esi
	movl	-56(%rbp), %ecx
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_ldns_tcp_send_query
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_ldns_pkt_free
	movq	%r13, %rdi
	callq	_ldns_buffer_free
	movq	%rbx, %rdi
	callq	_LDNS_FREE
	testq	%r12, %r12
	je	LBB0_29
## %bb.31:
	movq	$0, (%r15)
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_25:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ldns_pkt_free
	movq	%rbx, %rdi
	callq	_LDNS_FREE
	movl	8(%r15), %edi
	callq	_close_socket
	movq	_LDNS_STATUS_MEM_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_27:
	movq	%r14, %rdi
	callq	_ldns_pkt_free
	movq	%r13, %rdi
	callq	_ldns_buffer_free
	movq	%rbx, %rdi
	callq	_LDNS_FREE
	movl	8(%r15), %edi
	callq	_close_socket
	movl	$0, 8(%r15)
	jmp	LBB0_33
LBB0_29:
	movl	8(%r15), %edi
	callq	_close_socket
	movq	_LDNS_STATUS_NETWORK_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_STATUS_ERR,8,3            ## @LDNS_STATUS_ERR
	.comm	_LDNS_RR_TYPE_AXFR,4,2          ## @LDNS_RR_TYPE_AXFR
	.comm	_LDNS_STATUS_ADDRESS_ERR,8,3    ## @LDNS_STATUS_ADDRESS_ERR
	.comm	_SOCK_INVALID,4,2               ## @SOCK_INVALID
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_LDNS_RESOLV_INET6,8,3          ## @LDNS_RESOLV_INET6
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_LDNS_RESOLV_INET,8,3           ## @LDNS_RESOLV_INET
	.comm	_LDNS_STATUS_NETWORK_ERR,8,3    ## @LDNS_STATUS_NETWORK_ERR
	.comm	_LDNS_MAX_PACKETLEN,4,2         ## @LDNS_MAX_PACKETLEN
	.comm	_LDNS_STATUS_MEM_ERR,8,3        ## @LDNS_STATUS_MEM_ERR
	.comm	_LDNS_STATUS_OK,8,3             ## @LDNS_STATUS_OK
	.comm	_LDNS_STATUS_CRYPTO_TSIG_ERR,8,3 ## @LDNS_STATUS_CRYPTO_TSIG_ERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_axfr_start                ; -- Begin function ldns_axfr_start
	.p2align	2
_ldns_axfr_start:                       ; @ldns_axfr_start
	.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
	stp	xzr, xzr, [sp, #16]
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_ldns_resolver_nameserver_count
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x21
	bl	_ldns_rdf_clone
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_AXFR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_AXFR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x20
	mov	w3, #0
	bl	_ldns_pkt_query_new
	cbz	x0, LBB0_8
; %bb.3:
	mov	x20, x0
	mov	x0, x19
	bl	_ldns_resolver_source
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	cbz	x0, LBB0_9
; %bb.4:
	mov	x0, x19
	bl	_ldns_resolver_source
	add	x2, sp, #24
	mov	w1, #0
	bl	_ldns_rdf2native_sockaddr_storage_port
	mov	x22, x0
	b	LBB0_10
LBB0_5:
Lloh3:
	adrp	x8, _LDNS_STATUS_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_STATUS_ERR@GOTPAGEOFF]
LBB0_6:
	ldr	x22, [x8]
LBB0_7:
	mov	x0, x22
	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
	ret
LBB0_8:
Lloh5:
	adrp	x8, _LDNS_STATUS_ADDRESS_ERR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LDNS_STATUS_ADDRESS_ERR@GOTPAGEOFF]
	b	LBB0_6
LBB0_9:
	mov	x22, #0
LBB0_10:
	mov	x0, x19
	bl	_ldns_resolver_nameserver_count
Lloh7:
	adrp	x25, _SOCK_INVALID@GOTPAGE
Lloh8:
	ldr	x25, [x25, _SOCK_INVALID@GOTPAGEOFF]
	cbz	x0, LBB0_23
; %bb.11:
	mov	x26, #0
	mov	x21, #0
Lloh9:
	adrp	x27, _AF_INET@GOTPAGE
Lloh10:
	ldr	x27, [x27, _AF_INET@GOTPAGEOFF]
Lloh11:
	adrp	x28, _LDNS_RESOLV_INET6@GOTPAGE
Lloh12:
	ldr	x28, [x28, _LDNS_RESOLV_INET6@GOTPAGEOFF]
Lloh13:
	adrp	x20, _AF_INET6@GOTPAGE
Lloh14:
	ldr	x20, [x20, _AF_INET6@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w23, [sp, #16]
	ldr	w24, [sp, #24]
	mov	x0, x19
	bl	_ldns_resolver_timeout
	mov	x4, x0
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	mov	x3, x24
	bl	_ldns_tcp_connect_from
	str	w0, [x19, #8]
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x26, x26, #1
	mov	x0, x19
	bl	_ldns_resolver_nameserver_count
	cmp	x26, x0
	b.hs	LBB0_24
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #8]
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	cbz	x21, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x21
	bl	_LDNS_FREE
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x19, #16]
	ldr	w21, [x8, x26, lsl #2]
	mov	x0, x19
	bl	_ldns_resolver_port
	mov	x1, x0
	add	x2, sp, #16
	mov	x0, x21
	bl	_ldns_rdf2native_sockaddr_storage
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x19
	bl	_ldns_resolver_ip6
	ldr	x8, [x28]
	cmp	x0, x8
	b.eq	LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x21]
LBB0_20:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.21:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x19
	bl	_ldns_resolver_ip6
Lloh15:
	adrp	x8, _LDNS_RESOLV_INET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LDNS_RESOLV_INET@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_12
LBB0_22:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x21
	bl	_LDNS_FREE
	mov	x21, #0
	b	LBB0_13
LBB0_23:
	mov	x21, #0
LBB0_24:
	ldr	w8, [x19, #8]
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_27
; %bb.25:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_ldns_pkt_free
	mov	x0, x21
	bl	_LDNS_FREE
LBB0_26:
Lloh18:
	adrp	x8, _LDNS_STATUS_NETWORK_ERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LDNS_STATUS_NETWORK_ERR@GOTPAGEOFF]
	b	LBB0_6
LBB0_27:
Lloh20:
	adrp	x8, _LDNS_MAX_PACKETLEN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LDNS_MAX_PACKETLEN@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_ldns_buffer_new
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	cbz	x0, LBB0_31
; %bb.28:
	mov	x23, x0
	mov	x1, x24
	bl	_ldns_pkt2buffer_wire
Lloh23:
	adrp	x20, _LDNS_STATUS_OK@GOTPAGE
Lloh24:
	ldr	x20, [x20, _LDNS_STATUS_OK@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_32
; %bb.29:
	ldr	w1, [x19, #8]
	ldr	w3, [sp, #16]
	mov	x0, x23
	mov	x2, x21
	bl	_ldns_tcp_send_query
	mov	x22, x0
	mov	x0, x24
	bl	_ldns_pkt_free
	mov	x0, x23
	bl	_ldns_buffer_free
	mov	x0, x21
	bl	_LDNS_FREE
	cbz	x22, LBB0_33
; %bb.30:
	str	xzr, [x19]
	ldr	x22, [x20]
	b	LBB0_7
LBB0_31:
	mov	x0, x24
	bl	_ldns_pkt_free
	mov	x0, x21
	bl	_LDNS_FREE
	ldr	w0, [x19, #8]
	bl	_close_socket
Lloh25:
	adrp	x8, _LDNS_STATUS_MEM_ERR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LDNS_STATUS_MEM_ERR@GOTPAGEOFF]
	b	LBB0_6
LBB0_32:
	mov	x22, x0
	mov	x0, x24
	bl	_ldns_pkt_free
	mov	x0, x23
	bl	_ldns_buffer_free
	mov	x0, x21
	bl	_LDNS_FREE
	ldr	w0, [x19, #8]
	bl	_close_socket
	str	wzr, [x19, #8]
	b	LBB0_7
LBB0_33:
	ldr	w0, [x19, #8]
	bl	_close_socket
	b	LBB0_26
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_STATUS_ERR,8,3            ; @LDNS_STATUS_ERR
	.comm	_LDNS_RR_TYPE_AXFR,4,2          ; @LDNS_RR_TYPE_AXFR
	.comm	_LDNS_STATUS_ADDRESS_ERR,8,3    ; @LDNS_STATUS_ADDRESS_ERR
	.comm	_SOCK_INVALID,4,2               ; @SOCK_INVALID
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_LDNS_RESOLV_INET6,8,3          ; @LDNS_RESOLV_INET6
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_LDNS_RESOLV_INET,8,3           ; @LDNS_RESOLV_INET
	.comm	_LDNS_STATUS_NETWORK_ERR,8,3    ; @LDNS_STATUS_NETWORK_ERR
	.comm	_LDNS_MAX_PACKETLEN,4,2         ; @LDNS_MAX_PACKETLEN
	.comm	_LDNS_STATUS_MEM_ERR,8,3        ; @LDNS_STATUS_MEM_ERR
	.comm	_LDNS_STATUS_OK,8,3             ; @LDNS_STATUS_OK
	.comm	_LDNS_STATUS_CRYPTO_TSIG_ERR,8,3 ; @LDNS_STATUS_CRYPTO_TSIG_ERR
.subsections_via_symbols
