	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_HDR_init
_test_HDR_init:                         ## @test_HDR_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_CMP_HDR_TEST_FIXTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_set_up@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SETUP_TEST_FIXTURE
	movq	_CMP_TEST_REFVALUE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_fixture@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	$1, (%rax)
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_RAND_bytes
	movl	$1, %edi
	movl	%eax, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movl	4(%rax), %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_OSSL_CMP_CTX_set1_referenceValue
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	jne	LBB0_3
LBB0_2:
	movq	(%r15), %rdi
	callq	_tear_down
	movq	$0, (%r15)
LBB0_3:
	movq	_execute_HDR_init_test@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_tear_down@GOTPCREL(%rip), %rsi
	callq	_EXECUTE_TEST
	movq	_result@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CMP_HDR_TEST_FIXTURE,4,2       ## @CMP_HDR_TEST_FIXTURE
	.comm	_set_up,4,2                     ## @set_up
	.comm	_CMP_TEST_REFVALUE_LENGTH,4,2   ## @CMP_TEST_REFVALUE_LENGTH
	.comm	_fixture,8,3                    ## @fixture
	.comm	_execute_HDR_init_test,4,2      ## @execute_HDR_init_test
	.comm	_result,4,2                     ## @result
	.no_dead_strip	_test_HDR_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_HDR_init
_test_HDR_init:                         ; @test_HDR_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _CMP_HDR_TEST_FIXTURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMP_HDR_TEST_FIXTURE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _set_up@GOTPAGE
Lloh7:
	ldr	x8, [x8, _set_up@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_SETUP_TEST_FIXTURE
Lloh9:
	adrp	x8, _CMP_TEST_REFVALUE_LENGTH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CMP_TEST_REFVALUE_LENGTH@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
	mov	x9, x19
Lloh12:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh13:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh14:
	adrp	x21, _fixture@GOTPAGE
Lloh15:
	ldr	x21, [x21, _fixture@GOTPAGEOFF]
	ldr	x8, [x21]
	mov	w9, #1
	str	w9, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_RAND_bytes
	mov	x1, x0
	mov	w0, #1
	bl	_TEST_int_eq
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	mov	x1, x20
	mov	x2, x19
	bl	_OSSL_CMP_CTX_set1_referenceValue
	bl	_TEST_true
	cbnz	w0, LBB0_3
LBB0_2:
	ldr	x0, [x21]
	bl	_tear_down
	str	xzr, [x21]
LBB0_3:
Lloh16:
	adrp	x8, _execute_HDR_init_test@GOTPAGE
Lloh17:
	ldr	x8, [x8, _execute_HDR_init_test@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, _tear_down@GOTPAGE
Lloh20:
	ldr	x1, [x1, _tear_down@GOTPAGEOFF]
	bl	_EXECUTE_TEST
Lloh21:
	adrp	x8, _result@GOTPAGE
Lloh22:
	ldr	x8, [x8, _result@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldur	x8, [x29, #-40]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_CMP_HDR_TEST_FIXTURE,4,2       ; @CMP_HDR_TEST_FIXTURE
	.comm	_set_up,4,2                     ; @set_up
	.comm	_CMP_TEST_REFVALUE_LENGTH,4,2   ; @CMP_TEST_REFVALUE_LENGTH
	.comm	_fixture,8,3                    ; @fixture
	.comm	_execute_HDR_init_test,4,2      ; @execute_HDR_init_test
	.comm	_result,4,2                     ; @result
	.no_dead_strip	_test_HDR_init
.subsections_via_symbols
