	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_dh2key
_test_dh2key:                           ## @test_dh2key
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rax
	movq	%rcx, %r8
	movl	%esi, %ebx
	movl	%edi, %r14d
	movq	16(%rbp), %r15
	movl	(%rdx), %ecx
	movl	4(%rdx), %edx
	leaq	-32(%rbp), %rsi
	movq	%rsi, (%rsp)
	movl	%ebx, %edi
	movl	%r9d, %esi
	movq	%rax, %r9
	callq	__krb5_pk_octetstring2key
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	movl	%r14d, %r8d
	callq	_krb5_err
LBB0_2:
	movl	-28(%rbp), %edx
	cmpl	(%r15), %edx
	jne	LBB0_4
## %bb.3:
	movl	-32(%rbp), %edi
	movl	4(%r15), %esi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %edi
	movl	$1, %esi
	movl	%r14d, %ecx
	callq	_krb5_errx
LBB0_5:
	leaq	-32(%rbp), %rsi
	movl	%ebx, %edi
	callq	_krb5_free_keyblock_contents
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_krb5_pk_octetstring2key: %d"

L_.str.1:                               ## @.str.1
	.asciz	"resulting key wrong: %d"

	.no_dead_strip	_test_dh2key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_dh2key
_test_dh2key:                           ; @test_dh2key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x6
	mov	x8, x4
	mov	x4, x3
	mov	x19, x1
	mov	x20, x0
	ldp	w3, w9, [x2]
	add	x6, sp, #8
	mov	x0, x1
	mov	x1, x5
	mov	x2, x9
	mov	x5, x8
	bl	__krb5_pk_octetstring2key
	cbz	x0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	mov	x4, x20
	bl	_krb5_err
LBB0_2:
	ldr	w2, [sp, #12]
	ldr	w8, [x21]
	cmp	w2, w8
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [sp, #8]
	ldr	w1, [x21, #4]
	bl	_memcmp
	cbz	x0, LBB0_5
LBB0_4:
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	mov	x3, x20
	bl	_krb5_errx
LBB0_5:
	add	x1, sp, #8
	mov	x0, x19
	bl	_krb5_free_keyblock_contents
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_krb5_pk_octetstring2key: %d"

l_.str.1:                               ; @.str.1
	.asciz	"resulting key wrong: %d"

	.no_dead_strip	_test_dh2key
.subsections_via_symbols
