	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_boolean
_test_boolean:                          ## @test_boolean
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -32(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movq	$1, -88(%rbp)
	movq	$1, -48(%rbp)
	leaq	l_.str.1(%rip), %rax
	movq	%rax, -40(%rbp)
	movq	$1, -112(%rbp)
	leaq	-112(%rbp), %rax
	movq	%rax, -80(%rbp)
	leaq	-72(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%edx, %edx
	callq	_asprintf
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	cmpq	$0, -72(%rbp)
	je	LBB0_3
LBB0_4:
	leaq	-108(%rbp), %rax
	movq	%rax, -40(%rbp)
	leaq	-32(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edx
	callq	_asprintf
	testq	%rax, %rax
	js	LBB0_5
## %bb.6:
	cmpq	$0, -32(%rbp)
	je	LBB0_7
LBB0_8:
	movq	_der_put_boolean@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_der_length_boolean@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_der_get_boolean@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_test_cmp_boolean@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	leaq	-96(%rbp), %rdi
	movl	$2, %esi
	movl	$4, %edx
	pushq	$0
	pushq	%rax
	pushq	$0
	callq	_generic_test
	addq	$32, %rsp
	movl	%eax, %ebx
	movq	-72(%rbp), %rdi
	callq	_free
	movq	-32(%rbp), %rdi
	callq	_free
	testl	%ebx, %ebx
	jne	LBB0_14
## %bb.9:
	leaq	-104(%rbp), %rdx
	leaq	-120(%rbp), %rcx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_der_get_heim_integer
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_11:
	cmpq	$0, -104(%rbp)
	je	LBB0_13
## %bb.12:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_13:
	leaq	-104(%rbp), %rdi
	callq	_der_free_heim_integer
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	cmpq	$0, -72(%rbp)
	jne	LBB0_4
LBB0_3:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	cmpq	$0, -32(%rbp)
	jne	LBB0_8
LBB0_7:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	jmp	LBB0_8
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
l_.str.1:                               ## @.str.1
	.space	2

	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"heim_boolean %d"

L_.str.3:                               ## @.str.3
	.asciz	"malloc"

	.comm	_der_put_boolean,8,3            ## @der_put_boolean
	.comm	_der_length_boolean,8,3         ## @der_length_boolean
	.comm	_der_get_boolean,8,3            ## @der_get_boolean
	.comm	_test_cmp_boolean,4,2           ## @test_cmp_boolean
L_.str.4:                               ## @.str.4
	.asciz	"der_get_heim_integer"

L_.str.5:                               ## @.str.5
	.asciz	"der_get_heim_integer wrong length"

	.no_dead_strip	_test_boolean
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_boolean
_test_boolean:                          ; @test_boolean
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #80]
	stp	q0, q0, [sp, #48]
	str	q0, [sp, #32]
	mov	w8, #1
Lloh3:
	adrp	x9, l_.str.1@PAGE
Lloh4:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x8, x9, [sp, #80]
	str	x8, [sp, #24]
	add	x9, sp, #24
	add	x10, sp, #32
	add	x0, x10, #24
	stp	x8, x9, [sp, #40]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #0
	bl	_asprintf
	tbnz	x0, #63, LBB0_12
; %bb.1:
	ldr	x8, [sp, #56]
	cbz	x8, LBB0_13
LBB0_2:
	add	x8, sp, #24
	orr	x8, x8, #0x4
	str	x8, [sp, #88]
	add	x8, sp, #32
	add	x0, x8, #64
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #1
	bl	_asprintf
	tbnz	x0, #63, LBB0_14
; %bb.3:
	ldr	x8, [sp, #96]
	cbz	x8, LBB0_15
LBB0_4:
Lloh9:
	adrp	x8, _der_put_boolean@GOTPAGE
Lloh10:
	ldr	x8, [x8, _der_put_boolean@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
Lloh12:
	adrp	x8, _der_length_boolean@GOTPAGE
Lloh13:
	ldr	x8, [x8, _der_length_boolean@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
Lloh15:
	adrp	x8, _der_get_boolean@GOTPAGE
Lloh16:
	ldr	x8, [x8, _der_get_boolean@GOTPAGEOFF]
Lloh17:
	ldr	w5, [x8]
Lloh18:
	adrp	x8, _test_cmp_boolean@GOTPAGE
Lloh19:
	ldr	x8, [x8, _test_cmp_boolean@GOTPAGEOFF]
Lloh20:
	ldr	w7, [x8]
	str	xzr, [sp]
	add	x0, sp, #32
	mov	w1, #2
	mov	w2, #4
	mov	w6, #0
	bl	_generic_test
	mov	x19, x0
	ldr	x0, [sp, #56]
	bl	_free
	ldr	x0, [sp, #96]
	bl	_free
	cbnz	w19, LBB0_10
; %bb.5:
	add	x2, sp, #8
	add	x3, sp, #16
	mov	x0, #0
	mov	w1, #0
	bl	_der_get_heim_integer
	cbz	w0, LBB0_7
; %bb.6:
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_7:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_9
; %bb.8:
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_9:
	add	x0, sp, #8
	bl	_der_free_heim_integer
LBB0_10:
	ldur	x8, [x29, #-24]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.11:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_12:
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	x8, [sp, #56]
	cbnz	x8, LBB0_2
LBB0_13:
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_errx
	b	LBB0_2
LBB0_14:
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	x8, [sp, #96]
	cbnz	x8, LBB0_4
LBB0_15:
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_errx
	b	LBB0_4
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l_.str.1:                               ; @.str.1
	.space	2

	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"heim_boolean %d"

l_.str.3:                               ; @.str.3
	.asciz	"malloc"

	.comm	_der_put_boolean,8,3            ; @der_put_boolean
	.comm	_der_length_boolean,8,3         ; @der_length_boolean
	.comm	_der_get_boolean,8,3            ; @der_get_boolean
	.comm	_test_cmp_boolean,4,2           ; @test_cmp_boolean
l_.str.4:                               ; @.str.4
	.asciz	"der_get_heim_integer"

l_.str.5:                               ; @.str.5
	.asciz	"der_get_heim_integer wrong length"

	.no_dead_strip	_test_boolean
.subsections_via_symbols
