	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function az_nsec3_hash
_az_nsec3_hash:                         ## @az_nsec3_hash
	.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	$56, %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	%rcx, %r14
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movl	%r8d, %edi
	callq	_nsec3_hash_algo_size_supported
	movq	%rax, %r15
	movq	_LDNS_MAX_DOMAINLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_N3HASHBUFLEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rcx), %r13
	addq	$257, %r13                      ## imm = 0x101
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	24(%rbp), %rax
	leaq	(%rax,%r14), %rsi
	xorl	%eax, %eax
	cmpq	%r13, %rsi
	ja	LBB0_7
## %bb.1:
	cmpq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	ja	LBB0_7
## %bb.2:
	movq	%r14, %rdx
	movq	24(%rbp), %r14
	leaq	(%r15,%r14), %rcx
	cmpq	%r13, %rcx
	ja	LBB0_7
## %bb.3:
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rdx, %r13
	callq	_memmove
	movq	%r12, %rdi
	callq	_query_dname_tolower
	addq	%r12, %r13
	movq	%r13, %rdi
	movq	16(%rbp), %rsi
	movq	%r14, %rdx
	callq	_memmove
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_secalgo_nsec3_hash
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:
	movq	%r13, %r14
	movq	%r12, %r13
	movq	%r15, %rax
	addq	%r15, %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_memmove
	movq	%r13, %rdi
	movq	16(%rbp), %rsi
	movq	24(%rbp), %rdx
	callq	_memmove
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_secalgo_nsec3_hash
	decq	%rbx
	jne	LBB0_5
LBB0_6:
	movq	%r15, %rax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_MAX_DOMAINLEN,4,2         ## @LDNS_MAX_DOMAINLEN
	.comm	_N3HASHBUFLEN,8,3               ## @N3HASHBUFLEN
	.no_dead_strip	_az_nsec3_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function az_nsec3_hash
_az_nsec3_hash:                         ; @az_nsec3_hash
	.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, #16
	mov	x19, x7
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x27, x3
	stur	x2, [x29, #-96]                 ; 8-byte Folded Spill
	mov	x26, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	x0, x4
	bl	_nsec3_hash_algo_size_supported
	mov	x24, x0
Lloh3:
	adrp	x8, _LDNS_MAX_DOMAINLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_MAX_DOMAINLEN@GOTPAGEOFF]
Lloh5:
	adrp	x9, _N3HASHBUFLEN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _N3HASHBUFLEN@GOTPAGEOFF]
Lloh7:
	ldrsw	x8, [x8]
Lloh8:
	ldr	x9, [x9]
	add	x9, x8, x9
	add	x8, x9, #257
	add	x9, x9, #272
	and	x12, x9, #0xfffffffffffffff0
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x25, x9, x12
	mov	sp, x25
	add	x28, x19, x27
	cmp	x28, x8
	b.ls	LBB0_2
; %bb.1:
	mov	x0, #0
	b	LBB0_8
LBB0_2:
	mov	x0, #0
	cmp	x24, x26
	b.hi	LBB0_8
; %bb.3:
	add	x26, x24, x19
	cmp	x26, x8
	b.hi	LBB0_8
; %bb.4:
	mov	x0, x25
	ldur	x1, [x29, #-96]                 ; 8-byte Folded Reload
	mov	x2, x27
	bl	_memmove
	mov	x0, x25
	bl	_query_dname_tolower
	add	x0, x25, x27
	mov	x1, x20
	mov	x2, x19
	bl	_memmove
	mov	x0, x22
	mov	x1, x25
	mov	x2, x28
	mov	x3, x23
	bl	_secalgo_nsec3_hash
	cbz	x21, LBB0_7
; %bb.5:
	add	x27, x25, x24
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	mov	x1, x23
	mov	x2, x24
	bl	_memmove
	mov	x0, x27
	mov	x1, x20
	mov	x2, x19
	bl	_memmove
	mov	x0, x22
	mov	x1, x25
	mov	x2, x26
	mov	x3, x23
	bl	_secalgo_nsec3_hash
	subs	x21, x21, #1
	b.ne	LBB0_6
LBB0_7:
	mov	x0, x24
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %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:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_MAX_DOMAINLEN,4,2         ; @LDNS_MAX_DOMAINLEN
	.comm	_N3HASHBUFLEN,8,3               ; @N3HASHBUFLEN
	.no_dead_strip	_az_nsec3_hash
.subsections_via_symbols
