	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function az_add_nsec3_proof
_az_add_nsec3_proof:                    ## @az_add_nsec3_proof
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rcx, -104(%rbp)
	movq	%r8, -96(%rbp)
	movl	$0, -56(%rbp)
	leaq	-52(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	leaq	-72(%rbp), %r8
	callq	_az_nsec3_param
	movl	$1, %ecx
	testl	%eax, %eax
	je	LBB0_16
## %bb.1:
	movq	16(%rbp), %r13
	cmpl	$0, 24(%rbp)
	je	LBB0_4
## %bb.2:
	movl	-52(%rbp), %ecx
	movq	-80(%rbp), %r8
	movq	-64(%rbp), %r9
	subq	$8, %rsp
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	pushq	-72(%rbp)
	callq	_az_nsec3_find_exact
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_az_nsec3_insert
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	jmp	LBB0_16
LBB0_4:
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %r12
	movl	40(%rbp), %r14d
	cmpl	$0, 32(%rbp)
	je	LBB0_6
## %bb.5:
	movl	-52(%rbp), %r8d
	movq	-80(%rbp), %r9
	leaq	-104(%rbp), %rsi
	leaq	-96(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%r15, %rdi
	pushq	-72(%rbp)
	pushq	-64(%rbp)
	callq	_az_nsec3_find_ce
	addq	$16, %rsp
	cmpl	$0, -56(%rbp)
	movl	$1, %ecx
	cmovnel	%ecx, %r14d
	movq	%r15, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%rax, %rcx
	callq	_az_nsec3_insert
	testl	%eax, %eax
	je	LBB0_15
LBB0_6:
	testl	%r14d, %r14d
	movq	%r12, %r14
	je	LBB0_8
## %bb.7:
	movq	-104(%rbp), %rdi
	leaq	-120(%rbp), %rcx
	leaq	-112(%rbp), %r8
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_az_nsec3_get_nextcloser
	movq	-120(%rbp), %rsi
	movq	-112(%rbp), %rdx
	movl	-52(%rbp), %ecx
	movq	-80(%rbp), %r8
	movq	-64(%rbp), %r9
	subq	$8, %rsp
	movq	%r15, %rdi
	pushq	-72(%rbp)
	callq	_az_nsec3_find_cover
	addq	$16, %rsp
	movq	%r15, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_az_nsec3_insert
	testl	%eax, %eax
	je	LBB0_15
LBB0_8:
	cmpl	$0, 48(%rbp)
	je	LBB0_13
## %bb.9:
	movq	%rsp, %r12
	movq	_LDNS_MAX_DOMAINLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	shlq	$2, %r13
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	-96(%rbp), %rdx
	leaq	2(%rdx), %rax
	cmpq	%r13, %rax
	jbe	LBB0_12
## %bb.10:
	movq	%r12, %rsp
	jmp	LBB0_15
LBB0_12:
	movabsq	$180388626433, %rax             ## imm = 0x2A00000001
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	-104(%rbp), %rsi
	callq	_memmove
	movq	-96(%rbp), %rdx
	addq	$2, %rdx
	movl	-52(%rbp), %ecx
	movq	-80(%rbp), %r8
	movq	-64(%rbp), %r9
	subq	$8, %rsp
	movq	%r15, %rdi
	movq	%rbx, %rsi
	pushq	-72(%rbp)
	callq	_az_nsec3_find_cover
	addq	$16, %rsp
	movq	%r15, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_az_nsec3_insert
	testl	%eax, %eax
	movq	%r12, %rsp
	je	LBB0_15
LBB0_13:
	movl	$1, %ecx
	jmp	LBB0_16
LBB0_15:
	xorl	%ecx, %ecx
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%ecx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_MAX_DOMAINLEN,4,2         ## @LDNS_MAX_DOMAINLEN
	.no_dead_strip	_az_add_nsec3_proof
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function az_add_nsec3_proof
lCPI0_0:
	.long	1                               ; 0x1
	.long	42                              ; 0x2a
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_az_add_nsec3_proof:                    ; @az_add_nsec3_proof
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #80
	mov	x24, x7
	mov	x22, x6
	mov	x23, x5
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	stp	x4, x3, [x29, #-72]
	stur	wzr, [x29, #-108]
	sub	x1, x29, #76
	sub	x2, x29, #88
	sub	x3, x29, #104
	sub	x4, x29, #96
	bl	_az_nsec3_param
	cbz	w0, LBB0_12
; %bb.1:
	cbz	w24, LBB0_4
; %bb.2:
	ldur	w3, [x29, #-76]
	ldp	x6, x4, [x29, #-96]
	ldur	x5, [x29, #-104]
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_az_nsec3_find_exact
	cbz	x0, LBB0_4
; %bb.3:
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_az_nsec3_insert
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_13
LBB0_4:
	ldp	w8, w24, [x29, #16]
	cbz	w8, LBB0_6
; %bb.5:
	ldur	w4, [x29, #-76]
	ldp	x7, x5, [x29, #-96]
	ldur	x6, [x29, #-104]
	sub	x1, x29, #64
	sub	x2, x29, #72
	sub	x3, x29, #108
	mov	x0, x21
	bl	_az_nsec3_find_ce
	mov	x3, x0
	ldur	w8, [x29, #-108]
	cmp	w8, #0
	csinc	w24, w24, wzr, eq
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_az_nsec3_insert
	cbz	w0, LBB0_13
LBB0_6:
	cbz	w24, LBB0_8
; %bb.7:
	ldur	x0, [x29, #-64]
	sub	x3, x29, #120
	sub	x4, x29, #128
	mov	x1, x23
	mov	x2, x22
	bl	_az_nsec3_get_nextcloser
	ldp	x2, x1, [x29, #-128]
	ldur	w3, [x29, #-76]
	ldp	x6, x4, [x29, #-96]
	ldur	x5, [x29, #-104]
	mov	x0, x21
	bl	_az_nsec3_find_cover
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_az_nsec3_insert
	cbz	w0, LBB0_13
LBB0_8:
	ldr	w8, [x29, #24]
	cbz	w8, LBB0_12
; %bb.9:
	mov	x23, sp
Lloh3:
	adrp	x8, _LDNS_MAX_DOMAINLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_MAX_DOMAINLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x7fffffff0
	sub	x22, x9, x10
	mov	sp, x22
	ldur	x2, [x29, #-72]
	add	x9, x2, #2
	cmp	x9, x8
	b.ls	LBB0_11
; %bb.10:
	mov	sp, x23
	mov	w0, #0
	b	LBB0_13
LBB0_11:
Lloh8:
	adrp	x8, lCPI0_0@PAGE
Lloh9:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	mov	x0, x22
	str	d0, [x0], #8
	ldur	x1, [x29, #-64]
	bl	_memmove
	ldur	x8, [x29, #-72]
	add	x2, x8, #2
	ldur	w3, [x29, #-76]
	ldp	x6, x4, [x29, #-96]
	ldur	x5, [x29, #-104]
	mov	x0, x21
	mov	x1, x22
	bl	_az_nsec3_find_cover
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_az_nsec3_insert
	mov	sp, x23
	cbz	w0, LBB0_13
LBB0_12:
	mov	w0, #1
LBB0_13:
	ldur	x8, [x29, #-56]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_MAX_DOMAINLEN,4,2         ; @LDNS_MAX_DOMAINLEN
	.no_dead_strip	_az_add_nsec3_proof
.subsections_via_symbols
