	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function res_to_bin_accelerator
_res_to_bin_accelerator:                ## @res_to_bin_accelerator
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.1:
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movq	_BIN_ACCELERATOR_SIZE@GOTPCREL(%rip), %r13
	leaq	-56(%rbp), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %esi
	orl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_windres_put_16
	movl	-48(%rbp), %esi
	movl	4(%rbx), %edx
	movq	%r15, %rdi
	callq	_windres_put_16
	movl	-52(%rbp), %esi
	movl	8(%rbx), %edx
	movq	%r15, %rdi
	callq	_windres_put_16
	movl	-56(%rbp), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_windres_put_16
	movq	(%r13), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_set_windres_bfd_content
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	(%r13), %r14d
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r15, %r15
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rbx)
	movl	$0, %edx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ACC_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	jmp	LBB0_5
LBB0_7:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACC_LAST,4,2                   ## @ACC_LAST
	.comm	_BIN_ACCELERATOR_SIZE,8,3       ## @BIN_ACCELERATOR_SIZE
	.no_dead_strip	_res_to_bin_accelerator
.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_accelerator
_res_to_bin_accelerator:                ; @res_to_bin_accelerator
	.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	x19, x1
	cbz	x2, LBB0_5
; %bb.1:
	mov	x20, x2
	mov	x21, x0
Lloh0:
	adrp	x22, _BIN_ACCELERATOR_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BIN_ACCELERATOR_SIZE@GOTPAGEOFF]
Lloh2:
	adrp	x23, _ACC_LAST@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ACC_LAST@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22]
	add	w19, w19, w8
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x21, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [sp, #12]
	ldr	w8, [x20]
	ldr	x9, [x20, #16]
	ldr	w10, [x23]
	cmp	x9, #0
	csel	w9, w10, wzr, eq
	orr	w2, w9, w8
	mov	x0, x21
	bl	_windres_put_16
	ldr	w1, [sp, #8]
	ldr	w2, [x20, #4]
	mov	x0, x21
	bl	_windres_put_16
	ldr	w1, [sp, #4]
	ldr	w2, [x20, #8]
	mov	x0, x21
	bl	_windres_put_16
	ldr	w1, [sp]
	mov	x0, x21
	mov	w2, #0
	bl	_windres_put_16
	ldr	x3, [x22]
	mov	x1, sp
	mov	x0, x21
	mov	x2, x19
	bl	_set_windres_bfd_content
	b	LBB0_2
LBB0_5:
	mov	x0, x19
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ACC_LAST,4,2                   ; @ACC_LAST
	.comm	_BIN_ACCELERATOR_SIZE,8,3       ; @BIN_ACCELERATOR_SIZE
	.no_dead_strip	_res_to_bin_accelerator
.subsections_via_symbols
