	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function if_then_else_handler
_if_then_else_handler:                  ## @if_then_else_handler
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, -40(%rbp)
	movq	8(%rbx), %r15
	movq	16(%rbx), %r12
	cmpl	$0, 16(%r15)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_2:
	cmpq	$0, 8(%r15)
	movq	(%r15), %rax
	je	LBB0_6
## %bb.3:
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_strbuf_swap
LBB0_4:
	movq	%rbx, %rdi
	callq	_strbuf_reset
	leaq	-40(%rbp), %rdi
	callq	_pop_stack_element
	jmp	LBB0_8
LBB0_6:
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_strbuf_reset
LBB0_8:
	movq	-40(%rbp), %rax
	movq	%rax, (%r14)
	movq	%r15, %rdi
	callq	_free
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"format: %%(if) atom used without a %%(then) atom"

	.no_dead_strip	_if_then_else_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function if_then_else_handler
_if_then_else_handler:                  ; @if_then_else_handler
	.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	x19, x0
	ldr	x21, [x0]
	str	x21, [sp, #8]
	ldp	x20, x22, [x21, #8]
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_5
; %bb.1:
	ldp	x8, x9, [x20]
	cbz	x9, LBB0_6
LBB0_2:
	cbnz	x8, LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x22
	bl	_strbuf_swap
LBB0_4:
	mov	x0, x21
	bl	_strbuf_reset
	add	x0, sp, #8
	bl	_pop_stack_element
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_die
	ldp	x8, x9, [x20]
	cbnz	x9, LBB0_2
LBB0_6:
	cbnz	x8, LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_strbuf_reset
LBB0_8:
	ldr	x8, [sp, #8]
	str	x8, [x19]
	mov	x0, x20
	bl	_free
	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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"format: %%(if) atom used without a %%(then) atom"

	.no_dead_strip	_if_then_else_handler
.subsections_via_symbols
