	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function define_cursor_rcdata
_define_cursor_rcdata:                  ## @define_cursor_rcdata
	.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	%rdx, %r12
	movq	%rsi, %r15
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	leaq	-44(%rbp), %rsi
	movq	%rdx, %rdi
	callq	_rcdata_render_as_buffer
	movq	%rax, %rbx
	movl	$32, %edi
	callq	_res_alloc
	movq	%rax, %r13
	movl	-44(%rbp), %edx
	movq	_wrtarget@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_windres_get_16
	movq	%rax, 24(%r13)
	addq	$8, %rbx
	movl	-44(%rbp), %edx
	addl	$-2, %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_windres_get_16
	movq	%rax, 16(%r13)
	movl	-44(%rbp), %eax
	movq	_BIN_CURSOR_SIZE@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	movl	%eax, (%r13)
	movslq	(%rcx), %rax
	leaq	(%r12,%rax,4), %rax
	movq	%rax, 8(%r13)
	movq	_RT_CURSOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %ecx
	movq	_resources@GOTPCREL(%rip), %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	callq	_define_standard_resource
	movq	_RES_TYPE_CURSOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	%r13, 8(%rax)
	movl	(%r15), %ecx
	movl	%ecx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wrtarget,4,2                   ## @wrtarget
	.comm	_BIN_CURSOR_SIZE,4,2            ## @BIN_CURSOR_SIZE
	.comm	_resources,4,2                  ## @resources
	.comm	_RT_CURSOR,4,2                  ## @RT_CURSOR
	.comm	_RES_TYPE_CURSOR,4,2            ## @RES_TYPE_CURSOR
	.no_dead_strip	_define_cursor_rcdata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function define_cursor_rcdata
_define_cursor_rcdata:                  ; @define_cursor_rcdata
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	add	x1, sp, #12
	mov	x0, x2
	bl	_rcdata_render_as_buffer
	mov	x22, x0
	mov	w0, #32
	bl	_res_alloc
	mov	x23, x0
	ldr	w2, [sp, #12]
Lloh0:
	adrp	x24, _wrtarget@GOTPAGE
Lloh1:
	ldr	x24, [x24, _wrtarget@GOTPAGEOFF]
	mov	x0, x24
	mov	x1, x22
	bl	_windres_get_16
	str	x0, [x23, #24]
	add	x1, x22, #8
	ldr	w8, [sp, #12]
	sub	w2, w8, #2
	mov	x0, x24
	bl	_windres_get_16
Lloh2:
	adrp	x8, _BIN_CURSOR_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BIN_CURSOR_SIZE@GOTPAGEOFF]
	ldr	w9, [sp, #12]
	ldr	w10, [x8]
	sub	w9, w9, w10
	str	w9, [x23]
	ldrsw	x8, [x8]
	add	x8, x20, x8, lsl #2
	stp	x8, x0, [x23, #8]
Lloh4:
	adrp	x8, _RT_CURSOR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RT_CURSOR@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldr	w3, [x19]
Lloh7:
	adrp	x0, _resources@GOTPAGE
Lloh8:
	ldr	x0, [x0, _resources@GOTPAGEOFF]
	mov	x2, x21
	mov	w4, #0
	bl	_define_standard_resource
Lloh9:
	adrp	x8, _RES_TYPE_CURSOR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RES_TYPE_CURSOR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	str	x23, [x0, #8]
	ldr	w8, [x19]
	str	w8, [x0]
	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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_wrtarget,4,2                   ; @wrtarget
	.comm	_BIN_CURSOR_SIZE,4,2            ; @BIN_CURSOR_SIZE
	.comm	_resources,4,2                  ; @resources
	.comm	_RT_CURSOR,4,2                  ; @RT_CURSOR
	.comm	_RES_TYPE_CURSOR,4,2            ; @RES_TYPE_CURSOR
	.no_dead_strip	_define_cursor_rcdata
.subsections_via_symbols
