	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ucl_object_emit_fd_funcs       ## -- Begin function ucl_object_emit_fd_funcs
	.p2align	4, 0x90
_ucl_object_emit_fd_funcs:              ## @ucl_object_emit_fd_funcs
	.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
	movl	%edi, -20(%rbp)
	movl	$1, %edi
	movl	$32, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movl	$4, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r14
	leaq	-20(%rbp), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	_ucl_fd_append_character@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_ucl_fd_append_double@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_ucl_fd_append_int@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_ucl_fd_append_len@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_free@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	%r14, (%rbx)
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_free
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ucl_fd_append_character,4,2    ## @ucl_fd_append_character
	.comm	_ucl_fd_append_double,4,2       ## @ucl_fd_append_double
	.comm	_ucl_fd_append_int,4,2          ## @ucl_fd_append_int
	.comm	_ucl_fd_append_len,4,2          ## @ucl_fd_append_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ucl_object_emit_fd_funcs       ; -- Begin function ucl_object_emit_fd_funcs
	.p2align	2
_ucl_object_emit_fd_funcs:              ; @ucl_object_emit_fd_funcs
	.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
	str	w0, [sp, #12]
	mov	w0, #1
	mov	w1, #32
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	mov	w0, #4
	bl	_malloc
	cbz	x0, LBB0_3
; %bb.2:
	mov	x20, x0
	add	x1, sp, #12
	mov	w2, #4
	bl	_memcpy
Lloh0:
	adrp	x8, _ucl_fd_append_character@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ucl_fd_append_character@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ucl_fd_append_double@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ucl_fd_append_double@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
Lloh6:
	adrp	x8, _ucl_fd_append_int@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ucl_fd_append_int@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ucl_fd_append_len@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ucl_fd_append_len@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
Lloh12:
	adrp	x8, _free@GOTPAGE
Lloh13:
	ldr	x8, [x8, _free@GOTPAGEOFF]
	stp	x20, x8, [x19]
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_free
	mov	x19, #0
LBB0_4:
	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 AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ucl_fd_append_character,4,2    ; @ucl_fd_append_character
	.comm	_ucl_fd_append_double,4,2       ; @ucl_fd_append_double
	.comm	_ucl_fd_append_int,4,2          ; @ucl_fd_append_int
	.comm	_ucl_fd_append_len,4,2          ; @ucl_fd_append_len
.subsections_via_symbols
