	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bin_to_res_cursor              ## -- Begin function bin_to_res_cursor
	.p2align	4, 0x90
_bin_to_res_cursor:                     ## @bin_to_res_cursor
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	cmpl	$3, %edx
	jg	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_toosmall
LBB0_2:
	movl	$32, %edi
	callq	_res_alloc
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$2, %edx
	callq	_windres_get_16
	movq	%rax, 24(%rbx)
	leaq	8(%r15), %rsi
	movq	%r12, %rdi
	movl	$2, %edx
	callq	_windres_get_16
	movq	%rax, 16(%rbx)
	addl	$-4, %r14d
	movl	%r14d, (%rbx)
	addq	$16, %r15
	movq	%r15, 8(%rbx)
	movl	$16, %edi
	callq	_res_alloc
	movq	_RES_TYPE_CURSOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	%rbx, (%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cursor"

	.comm	_RES_TYPE_CURSOR,4,2            ## @RES_TYPE_CURSOR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bin_to_res_cursor              ; -- Begin function bin_to_res_cursor
	.p2align	2
_bin_to_res_cursor:                     ; @bin_to_res_cursor
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	cmp	w2, #3
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_toosmall
LBB0_2:
	mov	w0, #32
	bl	_res_alloc
	mov	x22, x0
	mov	x0, x21
	mov	x1, x19
	mov	w2, #2
	bl	_windres_get_16
	str	x0, [x22, #24]
	add	x1, x19, #8
	mov	x0, x21
	mov	w2, #2
	bl	_windres_get_16
	sub	w8, w20, #4
	str	w8, [x22]
	add	x8, x19, #16
	stp	x8, x0, [x22, #8]
	mov	w0, #16
	bl	_res_alloc
Lloh2:
	adrp	x8, _RES_TYPE_CURSOR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RES_TYPE_CURSOR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	str	x22, [x0]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cursor"

	.comm	_RES_TYPE_CURSOR,4,2            ; @RES_TYPE_CURSOR
.subsections_via_symbols
