	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_item
_write_item:                            ## @write_item
	.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	%rdi, %r14
	testl	%esi, %esi
	je	LBB0_5
## %bb.1:
	movl	%edx, %r13d
	testl	%edx, %edx
	je	LBB0_5
## %bb.2:
	movl	%esi, %ebx
	movq	_CP_UTF8@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	callq	_WideCharToMultiByte
	addq	$16, %rsp
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_xmalloc
	movq	%rax, %r15
	movq	_CP_UTF8@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	%r13d, %ecx
	movq	%r15, %r8
	movl	%r12d, %r9d
	pushq	%rax
	pushq	$0
	callq	_WideCharToMultiByte
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_die
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%r12d, %edx
	callq	_fwrite
	movl	$10, %edi
	callq	_putchar
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_5:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s=\n"

	.comm	_CP_UTF8,4,2                    ## @CP_UTF8
	.comm	_FALSE,4,2                      ## @FALSE
L_.str.1:                               ## @.str.1
	.asciz	"WideCharToMultiByte failed!"

L_.str.2:                               ## @.str.2
	.asciz	"%s="

	.comm	_stdout,4,2                     ## @stdout
	.no_dead_strip	_write_item
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_item
_write_item:                            ; @write_item
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	cbz	w1, LBB0_5
; %bb.1:
	mov	x22, x2
	cbz	w2, LBB0_5
; %bb.2:
	mov	x23, x1
Lloh0:
	adrp	x24, _CP_UTF8@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CP_UTF8@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh2:
	adrp	x25, _FALSE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
	ldr	w7, [x25]
	mov	w1, #0
	mov	x2, x23
	mov	x3, x22
	mov	x4, #0
	mov	w5, #0
	mov	x6, #0
	bl	_WideCharToMultiByte
	mov	x21, x0
	bl	_xmalloc
	mov	x20, x0
	ldr	w0, [x24]
	ldr	w7, [x25]
	mov	w1, #0
	mov	x2, x23
	mov	x3, x22
	mov	x4, x20
	mov	x5, x21
	mov	x6, #0
	bl	_WideCharToMultiByte
	cbnz	w0, LBB0_4
; %bb.3:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_4:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_printf
Lloh8:
	adrp	x8, _stdout@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #1
	mov	x2, x21
	bl	_fwrite
	mov	w0, #10
	bl	_putchar
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_free
LBB0_5:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_printf
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s=\n"

	.comm	_CP_UTF8,4,2                    ; @CP_UTF8
	.comm	_FALSE,4,2                      ; @FALSE
l_.str.1:                               ; @.str.1
	.asciz	"WideCharToMultiByte failed!"

l_.str.2:                               ; @.str.2
	.asciz	"%s="

	.comm	_stdout,4,2                     ; @stdout
	.no_dead_strip	_write_item
.subsections_via_symbols
