	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function res_to_bin_group_cursor
_res_to_bin_group_cursor:               ## @res_to_bin_group_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_BIN_GROUP_CURSOR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	addl	%esi, %r12d
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rdx, %rbx
	xorl	%r13d, %r13d
	movq	_BIN_GROUP_CURSOR_ITEM_SIZE@GOTPCREL(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	(%r14), %r12d
	movq	24(%rbx), %rbx
	incl	%r13d
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-48(%rbp), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_windres_put_16
	movl	-52(%rbp), %esi
	movl	4(%rbx), %edx
	movq	%r15, %rdi
	callq	_windres_put_16
	movl	-56(%rbp), %esi
	movl	8(%rbx), %edx
	movq	%r15, %rdi
	callq	_windres_put_16
	movl	-60(%rbp), %esi
	movl	12(%rbx), %edx
	movq	%r15, %rdi
	callq	_windres_put_16
	movl	-64(%rbp), %esi
	movl	20(%rbx), %edx
	movq	%r15, %rdi
	callq	_windres_put_32
	movl	-68(%rbp), %esi
	movl	16(%rbx), %edx
	movq	%r15, %rdi
	callq	_windres_put_16
	movq	(%r14), %rcx
	movq	%r15, %rdi
	leaq	-80(%rbp), %rsi
	movl	%r12d, %edx
	callq	_set_windres_bfd_content
	jmp	LBB0_5
LBB0_1:
	xorl	%r13d, %r13d
LBB0_6:
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_windres_put_16
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_windres_put_16
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	_windres_put_16
	movq	_BIN_GROUP_CURSOR_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	-120(%rbp), %rsi
	movq	%r15, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_set_windres_bfd_content
LBB0_8:
	movl	%r12d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIN_GROUP_CURSOR_SIZE,8,3      ## @BIN_GROUP_CURSOR_SIZE
	.comm	_BIN_GROUP_CURSOR_ITEM_SIZE,8,3 ## @BIN_GROUP_CURSOR_ITEM_SIZE
	.no_dead_strip	_res_to_bin_group_cursor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function res_to_bin_group_cursor
_res_to_bin_group_cursor:               ; @res_to_bin_group_cursor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x24, _BIN_GROUP_CURSOR_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BIN_GROUP_CURSOR_SIZE@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w19, w8, w1
	cbz	x2, LBB0_5
; %bb.1:
	mov	x23, x2
	mov	w22, #0
Lloh2:
	adrp	x25, _BIN_GROUP_CURSOR_ITEM_SIZE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _BIN_GROUP_CURSOR_ITEM_SIZE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x25]
	add	w19, w19, w8
	ldr	x23, [x23, #24]
	add	w22, w22, #1
	cbz	x23, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x21, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [sp, #32]
	ldr	w2, [x23]
	mov	x0, x21
	bl	_windres_put_16
	ldr	w1, [sp, #28]
	ldr	w2, [x23, #4]
	mov	x0, x21
	bl	_windres_put_16
	ldr	w1, [sp, #24]
	ldr	w2, [x23, #8]
	mov	x0, x21
	bl	_windres_put_16
	ldr	w1, [sp, #20]
	ldr	w2, [x23, #12]
	mov	x0, x21
	bl	_windres_put_16
	ldr	w1, [sp, #16]
	ldr	w2, [x23, #20]
	mov	x0, x21
	bl	_windres_put_32
	ldr	w1, [sp, #12]
	ldr	w2, [x23, #16]
	mov	x0, x21
	bl	_windres_put_16
	ldr	x3, [x25]
	mov	x1, sp
	mov	x0, x21
	mov	x2, x19
	bl	_set_windres_bfd_content
	b	LBB0_2
LBB0_5:
	mov	w22, #0
LBB0_6:
	cbz	x21, LBB0_8
; %bb.7:
	mov	x0, x21
	mov	w2, #0
	bl	_windres_put_16
	mov	x0, x21
	mov	w2, #2
	bl	_windres_put_16
	mov	x0, x21
	mov	x2, x22
	bl	_windres_put_16
	ldr	x3, [x24]
	add	x1, sp, #40
	mov	x0, x21
	mov	x2, x20
	bl	_set_windres_bfd_content
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_BIN_GROUP_CURSOR_SIZE,8,3      ; @BIN_GROUP_CURSOR_SIZE
	.comm	_BIN_GROUP_CURSOR_ITEM_SIZE,8,3 ; @BIN_GROUP_CURSOR_ITEM_SIZE
	.no_dead_strip	_res_to_bin_group_cursor
.subsections_via_symbols
