	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nsec3_hash_cmp                 ## -- Begin function nsec3_hash_cmp
	.p2align	4, 0x90
_nsec3_hash_cmp:                        ## @nsec3_hash_cmp
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	movl	8(%rsi), %esi
	callq	_query_dname_compare
	testl	%eax, %eax
	jne	LBB0_14
## %bb.1:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_nsec3_get_algo
	movq	%rax, %r15
	movl	(%r14), %esi
	movl	4(%r14), %edi
	callq	_nsec3_get_algo
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	cmpq	%rax, %r15
	jne	LBB0_2
## %bb.4:
	callq	_nsec3_get_iter
	movq	%rax, %r15
	movl	(%r14), %esi
	movl	4(%r14), %edi
	callq	_nsec3_get_iter
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	cmpq	%rax, %r15
	jne	LBB0_5
## %bb.6:
	leaq	-56(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	callq	_nsec3_get_salt
	movl	(%r14), %esi
	movl	4(%r14), %edi
	leaq	-48(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	callq	_nsec3_get_salt
	movq	-40(%rbp), %rdx
	movq	-32(%rbp), %rcx
	xorl	%eax, %eax
	movq	%rdx, %rsi
	orq	%rcx, %rsi
	je	LBB0_14
## %bb.7:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.9:
	movq	-48(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.11:
	cmpq	%rcx, %rdx
	jne	LBB0_12
## %bb.13:
	callq	_memcmp
	jmp	LBB0_14
LBB0_2:
	callq	_nsec3_get_algo
	movq	%rax, %rbx
	movl	(%r14), %esi
	movl	4(%r14), %edi
	callq	_nsec3_get_algo
	jmp	LBB0_3
LBB0_5:
	callq	_nsec3_get_iter
	movq	%rax, %rbx
	movl	(%r14), %esi
	movl	4(%r14), %edi
	callq	_nsec3_get_iter
LBB0_3:
	xorl	%ecx, %ecx
	cmpq	%rax, %rbx
	setge	%cl
	leal	(%rcx,%rcx), %eax
	decl	%eax
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$-1, %eax
	jmp	LBB0_14
LBB0_10:
	movl	$1, %eax
	jmp	LBB0_14
LBB0_12:
	setae	%al
	movzbl	%al, %eax
	addl	%eax, %eax
	decl	%eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nsec3_hash_cmp                 ; -- Begin function nsec3_hash_cmp
	.p2align	2
_nsec3_hash_cmp:                        ; @nsec3_hash_cmp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #8]
	ldr	w1, [x1, #8]
	bl	_query_dname_compare
	cbnz	w0, LBB0_8
; %bb.1:
	ldp	w1, w0, [x20]
	bl	_nsec3_get_algo
	mov	x21, x0
	ldp	w1, w0, [x19]
	bl	_nsec3_get_algo
	mov	x8, x0
	ldp	w1, w0, [x20]
	cmp	x21, x8
	b.ne	LBB0_5
; %bb.2:
	bl	_nsec3_get_iter
	mov	x21, x0
	ldp	w1, w0, [x19]
	bl	_nsec3_get_iter
	mov	x8, x0
	ldp	w1, w0, [x20]
	cmp	x21, x8
	b.ne	LBB0_6
; %bb.3:
	add	x2, sp, #24
	add	x3, sp, #8
	bl	_nsec3_get_salt
	ldp	w1, w0, [x19]
	add	x2, sp, #16
	mov	x3, sp
	bl	_nsec3_get_salt
	ldp	x8, x2, [sp]
	orr	x9, x2, x8
	cbnz	x9, LBB0_9
; %bb.4:
	mov	w0, #0
	b	LBB0_8
LBB0_5:
	bl	_nsec3_get_algo
	mov	x20, x0
	ldp	w1, w0, [x19]
	bl	_nsec3_get_algo
	b	LBB0_7
LBB0_6:
	bl	_nsec3_get_iter
	mov	x20, x0
	ldp	w1, w0, [x19]
	bl	_nsec3_get_iter
LBB0_7:
	cmp	x20, x0
	mov	w8, #-1
	cneg	w0, w8, ge
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_13
; %bb.10:
	ldr	x1, [sp, #16]
	cbz	x1, LBB0_14
; %bb.11:
	cmp	x2, x8
	b.ne	LBB0_15
; %bb.12:
	bl	_memcmp
	b	LBB0_8
LBB0_13:
	mov	w0, #-1
	b	LBB0_8
LBB0_14:
	mov	w0, #1
	b	LBB0_8
LBB0_15:
	mov	w8, #-1
	cneg	w0, w8, hs
	b	LBB0_8
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
