	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucl_dump
_ucl_dump:                              ## @ucl_dump
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rdi
	movq	_UCL_EMIT_CONFIG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	callq	_PyArg_ParseTuple
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	-24(%rbp), %rax
	movq	_UCL_EMIT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_5
## %bb.2:
	movq	-32(%rbp), %rdi
	callq	__iterate_python
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %rbx
	movq	-24(%rbp), %rsi
	movq	%rax, %rdi
	callq	_ucl_object_emit
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_ucl_object_unref
	movq	%r14, %rdi
	callq	_PyString_FromString
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_8
LBB0_4:
	movq	_PyExc_TypeError@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_5:
	movq	_PyExc_TypeError@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_6:
	callq	_PyErr_SetString
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UCL_EMIT_CONFIG,8,3            ## @UCL_EMIT_CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"O|i"

	.comm	_PyExc_TypeError,4,2            ## @PyExc_TypeError
L_.str.1:                               ## @.str.1
	.asciz	"Unhandled object type"

	.comm	_UCL_EMIT_MAX,8,3               ## @UCL_EMIT_MAX
L_.str.2:                               ## @.str.2
	.asciz	"Invalid emitter type"

	.comm	_Py_None,8,3                    ## @Py_None
	.comm	_Py_RETURN_NONE,4,2             ## @Py_RETURN_NONE
	.no_dead_strip	_ucl_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucl_dump
_ucl_dump:                              ; @ucl_dump
	.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
	mov	x0, x1
Lloh0:
	adrp	x8, _UCL_EMIT_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UCL_EMIT_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x3, sp
	bl	_PyArg_ParseTuple
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [sp]
Lloh5:
	adrp	x9, _UCL_EMIT_MAX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _UCL_EMIT_MAX@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.2:
	ldr	x0, [sp, #8]
	bl	__iterate_python
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x1, [sp]
	mov	x0, x19
	bl	_ucl_object_emit
	mov	x20, x0
	mov	x0, x19
	bl	_ucl_object_unref
	mov	x0, x20
	bl	_PyString_FromString
	mov	x19, x0
	mov	x0, x20
	bl	_free
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x8, _PyExc_TypeError@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PyExc_TypeError@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x8, _PyExc_TypeError@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PyExc_TypeError@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_6:
	bl	_PyErr_SetString
	mov	x19, #0
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_UCL_EMIT_CONFIG,8,3            ; @UCL_EMIT_CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"O|i"

	.comm	_PyExc_TypeError,4,2            ; @PyExc_TypeError
l_.str.1:                               ; @.str.1
	.asciz	"Unhandled object type"

	.comm	_UCL_EMIT_MAX,8,3               ; @UCL_EMIT_MAX
l_.str.2:                               ; @.str.2
	.asciz	"Invalid emitter type"

	.comm	_Py_None,8,3                    ; @Py_None
	.comm	_Py_RETURN_NONE,4,2             ; @Py_RETURN_NONE
	.no_dead_strip	_ucl_dump
.subsections_via_symbols
