	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unicode_to_bin
_unicode_to_bin:                        ## @unicode_to_bin
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r15
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_unichar_len
	movl	%eax, %r12d
	jmp	LBB0_3
LBB0_1:
	xorl	%r12d, %r12d
LBB0_3:
	leal	(,%r12,4), %eax
	testq	%r15, %r15
	je	LBB0_8
## %bb.4:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leal	4(%rax), %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_reswr_alloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_7
## %bb.5:
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	xorl	%r13d, %r13d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r13,4), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_windres_put_16
	incq	%r13
	addq	$16, %r12
	cmpq	%r13, %r14
	jne	LBB0_6
LBB0_7:
	movslq	-64(%rbp), %rax                 ## 4-byte Folded Reload
	shlq	$4, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	addq	%rax, %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_windres_put_16
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_set_windres_bfd_content
	movq	-72(%rbp), %rax                 ## 8-byte Reload
LBB0_8:
	addl	%r14d, %eax
	addl	$4, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_unicode_to_bin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unicode_to_bin
_unicode_to_bin:                        ; @unicode_to_bin
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	cbz	x2, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_unichar_len
	mov	x23, x0
	lsl	w26, w23, #2
	cbnz	x20, LBB0_3
	b	LBB0_7
LBB0_2:
	mov	w23, #0
	lsl	w26, w23, #2
	cbz	x20, LBB0_7
LBB0_3:
	add	w22, w26, #4
	mov	x0, x22
	bl	_reswr_alloc
	mov	x24, x0
	cmp	w23, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w27, w23
	mov	x25, x24
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21], #4
	mov	x0, x20
	mov	x1, x25
	bl	_windres_put_16
	add	x25, x25, #16
	subs	x27, x27, #1
	b.ne	LBB0_5
LBB0_6:
	add	x1, x24, w23, sxtw #4
	mov	x0, x20
	mov	w2, #0
	bl	_windres_put_16
	mov	x0, x20
	mov	x1, x24
	mov	x2, x19
	mov	x3, x22
	bl	_set_windres_bfd_content
LBB0_7:
	add	w8, w19, w26
	add	w0, w8, #4
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_unicode_to_bin
.subsections_via_symbols
