	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function PROFILE_WriteLine
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_PROFILE_WriteLine:                     ## @PROFILE_WriteLine
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movq	%rsi, %r13
	movl	%edi, %r14d
	movq	%rsi, %rdi
	movl	%edx, %esi
	callq	_debugstr_wn
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE
	leal	-128(%rbx), %eax
	cmpl	$3, %eax
	ja	LBB0_10
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	_CP_UTF8@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	xorl	%esi, %esi
	movq	%r13, %rdx
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_WideCharToMultiByte
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%rax, %r12
	movq	_CP_UTF8@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FIXME                          ## TAILCALL
LBB0_7:
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_PROFILE_ByteSwapShortBuffer
LBB0_8:
	leaq	-44(%rbp), %rcx
	movl	%r14d, %edi
	movq	%r13, %rsi
	movl	%r15d, %edx
	xorl	%r8d, %r8d
	callq	_WriteFile
	jmp	LBB0_9
LBB0_2:
	movq	_CP_ACP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	xorl	%esi, %esi
	movq	%r13, %rdx
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_WideCharToMultiByte
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, %r12
	movq	_CP_ACP@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	xorl	%esi, %esi
	movq	%r13, %rdx
	movl	%r15d, %ecx
	movq	%r12, %r8
	movl	%ebx, %r9d
	callq	_WideCharToMultiByte
	leaq	-44(%rbp), %rcx
	movl	%r14d, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	xorl	%r8d, %r8d
	callq	_WriteFile
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_HeapFree
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"writing: %s\n"

	.comm	_CP_ACP,4,2                     ## @CP_ACP
	.comm	_CP_UTF8,4,2                    ## @CP_UTF8
L_.str.1:                               ## @.str.1
	.asciz	"encoding type %d not implemented\n"

	.no_dead_strip	_PROFILE_WriteLine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PROFILE_WriteLine
_PROFILE_WriteLine:                     ; @PROFILE_WriteLine
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	mov	x1, x2
	bl	_debugstr_wn
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	sub	w8, w22, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh4:
	adrp	x24, _CP_UTF8@GOTPAGE
Lloh5:
	ldr	x24, [x24, _CP_UTF8@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	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
	add	sp, sp, #80
	b	_FIXME
LBB0_4:
	mov	x0, x21
	mov	x1, x20
	bl	_PROFILE_ByteSwapShortBuffer
LBB0_5:
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x4, #0
	bl	_WriteFile
	b	LBB0_9
LBB0_6:
Lloh8:
	adrp	x24, _CP_ACP@GOTPAGE
Lloh9:
	ldr	x24, [x24, _CP_ACP@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x24]
	mov	w1, #0
	mov	x2, x21
	mov	x3, x20
	mov	x4, #0
	mov	w5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_WideCharToMultiByte
	mov	x23, x0
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x23
	bl	_HeapAlloc
	cbz	x0, LBB0_9
; %bb.8:
	mov	x22, x0
	ldr	w0, [x24]
	mov	w1, #0
	mov	x2, x21
	mov	x3, x20
	mov	x4, x22
	mov	x5, x23
	mov	x6, #0
	mov	x7, #0
	bl	_WideCharToMultiByte
	mov	x2, x0
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x22
	mov	x4, #0
	bl	_WriteFile
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapFree
LBB0_9:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"writing: %s\n"

	.comm	_CP_ACP,4,2                     ; @CP_ACP
	.comm	_CP_UTF8,4,2                    ; @CP_UTF8
l_.str.1:                               ; @.str.1
	.asciz	"encoding type %d not implemented\n"

	.no_dead_strip	_PROFILE_WriteLine
.subsections_via_symbols
