	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function string_to_unicode_bin
_string_to_unicode_bin:                 ## @string_to_unicode_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, %r15d
	movq	%rdi, %r13
	movabsq	$4294967296, %r14               ## imm = 0x100000000
	movq	%rdx, %rdi
	callq	_strlen
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	shlq	$32, %r12
	addq	%r14, %r12
	shrq	$30, %r12
	movl	%r12d, %edi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_reswr_alloc
	movq	%rax, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testl	%eax, %eax
	jle	LBB0_3
## %bb.4:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	%eax, %r12d
	xorl	%r15d, %r15d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx,%r15), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_windres_put_16
	incq	%r15
	addq	$8, %r14
	cmpq	%r15, %r12
	jne	LBB0_5
## %bb.6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %eax
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_1:
	shlq	$32, %rax
	addq	%r14, %rax
	shrq	$30, %rax
	movl	%eax, %r12d
	jmp	LBB0_8
LBB0_3:
	xorl	%eax, %eax
LBB0_7:
	leaq	(%r14,%rax,4), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_windres_put_16
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	callq	_set_windres_bfd_content
LBB0_8:
	addl	%r15d, %r12d
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_string_to_unicode_bin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function string_to_unicode_bin
_string_to_unicode_bin:                 ; @string_to_unicode_bin
	.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	x23, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_strlen
	mov	x24, x0
	mov	x8, #4294967296
	cbz	x20, LBB0_5
; %bb.1:
	add	x8, x8, x24, lsl #32
	lsr	x21, x8, #30
	mov	x0, x21
	bl	_reswr_alloc
	mov	x22, x0
	cmp	w24, #1
	b.lt	LBB0_6
; %bb.2:
	and	x26, x24, #0xffffffff
	mov	x25, x22
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w2, [x23], #1
	mov	x0, x20
	mov	x1, x25
	bl	_windres_put_16
	add	x25, x25, #8
	subs	x26, x26, #1
	b.ne	LBB0_3
; %bb.4:
	lsl	w8, w24, #1
	b	LBB0_7
LBB0_5:
	add	x8, x8, x24, lsl #32
	lsr	x21, x8, #30
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	b	LBB0_8
LBB0_6:
	mov	x8, #0
LBB0_7:
	add	x1, x22, x8, lsl #2
	mov	x0, x20
	mov	w2, #0
	bl	_windres_put_16
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	bl	_set_windres_bfd_content
LBB0_8:
	add	w0, w21, w19
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_string_to_unicode_bin
.subsections_via_symbols
