	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yoml__new_node
_yoml__new_node:                        ## @yoml__new_node
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_malloc
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_strdup
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, 40(%rbx)
	movq	%r13, 32(%rbx)
	movl	4(%r12), %eax
	movl	%eax, 28(%rbx)
	movq	_YOML_TYPE_SCALAR@GOTPCREL(%rip), %rcx
	cmpq	%r13, (%rcx)
	jne	LBB0_6
## %bb.4:
	movl	8(%r12), %ecx
	andl	$-2, %ecx
	cmpl	$128, %ecx
	jne	LBB0_6
## %bb.5:
	incl	%eax
	movl	%eax, 28(%rbx)
LBB0_6:
	movl	(%r12), %eax
	movl	%eax, 24(%rbx)
	testq	%r15, %r15
	je	LBB0_7
## %bb.8:
	movq	%r15, %rdi
	callq	_yoml__strdup
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
LBB0_9:
	movq	%rax, 16(%rbx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.11:
	callq	_yoml__strdup
	jmp	LBB0_12
LBB0_10:
	xorl	%eax, %eax
LBB0_12:
	movq	%rax, 8(%rbx)
	movl	$1, (%rbx)
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_YOML_TYPE_SCALAR,8,3           ## @YOML_TYPE_SCALAR
	.no_dead_strip	_yoml__new_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yoml__new_node
_yoml__new_node:                        ; @yoml__new_node
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x5
	mov	x20, x4
	mov	x21, x3
	mov	x23, x1
	mov	x24, x0
	mov	x0, x2
	bl	_malloc
	mov	x19, x0
	cbz	x24, LBB0_2
; %bb.1:
	mov	x0, x24
	bl	_strdup
	b	LBB0_3
LBB0_2:
	mov	x0, #0
LBB0_3:
	stp	x23, x0, [x19, #32]
	ldr	w8, [x22, #4]
	str	w8, [x19, #28]
Lloh0:
	adrp	x9, _YOML_TYPE_SCALAR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _YOML_TYPE_SCALAR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x23
	b.ne	LBB0_6
; %bb.4:
	ldr	w9, [x22, #8]
	and	w9, w9, #0xfffffffe
	cmp	w9, #128
	b.ne	LBB0_6
; %bb.5:
	add	w8, w8, #1
	str	w8, [x19, #28]
LBB0_6:
	ldr	w8, [x22]
	str	w8, [x19, #24]
	cbz	x21, LBB0_9
; %bb.7:
	mov	x0, x21
	bl	_yoml__strdup
	str	x0, [x19, #16]
	cbz	x20, LBB0_10
LBB0_8:
	mov	x0, x20
	bl	_yoml__strdup
	b	LBB0_11
LBB0_9:
	mov	x0, #0
	str	x0, [x19, #16]
	cbnz	x20, LBB0_8
LBB0_10:
	mov	x0, #0
LBB0_11:
	str	x0, [x19, #8]
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_YOML_TYPE_SCALAR,8,3           ; @YOML_TYPE_SCALAR
	.no_dead_strip	_yoml__new_node
.subsections_via_symbols
