	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function end_atom_handler
_end_atom_handler:                      ## @end_atom_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -32(%rbp)
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	*%rax
	movq	(%rbx), %r14
	movq	8(%r14), %rax
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	movl	(%r14), %esi
	movl	8(%rbx), %edx
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	callq	_quote_formatting
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_strbuf_swap
LBB0_3:
	leaq	-32(%rbp), %rdi
	callq	_strbuf_release
	movq	%rbx, %rdi
	callq	_pop_stack_element
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rdx, %r14
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	%r14, %rdi
	movl	$-1, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strbuf_addf_ret                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"format: %%(end) atom used without corresponding atom"

	.no_dead_strip	_end_atom_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function end_atom_handler
_end_atom_handler:                      ; @end_atom_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [sp, #8]
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x0, x1
	blr	x8
	ldr	x20, [x19]
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	w1, [x20]
	ldr	w2, [x19, #8]
	add	x0, sp, #8
	bl	_quote_formatting
	add	x1, sp, #8
	mov	x0, x20
	bl	_strbuf_swap
LBB0_3:
	add	x0, sp, #8
	bl	_strbuf_release
	mov	x0, x19
	bl	_pop_stack_element
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	mov	x20, x2
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x20
	mov	w1, #-1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_strbuf_addf_ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"format: %%(end) atom used without corresponding atom"

	.no_dead_strip	_end_atom_handler
.subsections_via_symbols
