	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function res_to_bin_rcdata
_res_to_bin_rcdata:                     ## @res_to_bin_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdx, %rdx
	je	LBB0_24
## %bb.1:
	movq	%rdx, %rbx
	movq	%rdi, %r15
	leaq	LJTI0_0(%rip), %r12
	leaq	-64(%rbp), %r13
	jmp	LBB0_2
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	60(%rbx), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_windres_put_16
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-68(%rbp), %r8d                 ## 4-byte Reload
	movq	%r13, %rsi
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	%r14d, %edx
	movl	%r8d, %ecx
	callq	_set_windres_bfd_content
	movl	-68(%rbp), %r8d                 ## 4-byte Reload
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	%r8d, %r14d
	movq	64(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_24
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$2, %r8d
	movslq	(%r12,%rax,4), %rcx
	addq	%r12, %rcx
	jmpq	*%rcx
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%rbx), %r8d
	shll	$2, %r8d
	testq	%r15, %r15
	jne	LBB0_10
	jmp	LBB0_23
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	40(%rbx), %r8d
	testq	%r15, %r15
	jne	LBB0_10
	jmp	LBB0_23
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$4, %r8d
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	je	LBB0_23
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rsi
	cmpl	$4, %eax
	movl	%r8d, -68(%rbp)                 ## 4-byte Spill
	ja	LBB0_22
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r8d, %edi
	callq	_reswr_alloc
	movq	%rax, %rsi
	cmpl	$0, 24(%rbx)
	jle	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%r15, %r13
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	32(%rbx), %rax
	movl	(%rax,%r15,4), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_windres_put_16
	incq	%r15
	movslq	24(%rbx), %rax
	addq	$16, %r12
	cmpq	%rax, %r15
	jl	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r15
	leaq	LJTI0_0(%rip), %r12
	leaq	-64(%rbp), %r13
	movl	-68(%rbp), %r8d                 ## 4-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rbx), %r8d
	testq	%r15, %r15
	jne	LBB0_10
	jmp	LBB0_23
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	48(%rbx), %rsi
	jmp	LBB0_22
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	56(%rbx), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_windres_put_32
	jmp	LBB0_13
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rsi
	jmp	LBB0_22
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-68(%rbp), %r8d                 ## 4-byte Reload
	jmp	LBB0_22
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	callq	_abort
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_8
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_15, LBB0_15-LJTI0_1
.set L0_1_set_14, LBB0_14-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
LJTI0_1:
	.long	L0_1_set_16
	.long	L0_1_set_12
	.long	L0_1_set_15
	.long	L0_1_set_14
	.long	L0_1_set_21
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_res_to_bin_rcdata
.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_rcdata
_res_to_bin_rcdata:                     ; @res_to_bin_rcdata
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	cbz	x2, LBB0_21
; %bb.1:
	mov	x20, x2
	mov	x21, x0
Lloh3:
	adrp	x25, lJTI0_0@PAGE
Lloh4:
	add	x25, x25, lJTI0_0@PAGEOFF
Lloh5:
	adrp	x26, lJTI0_1@PAGE
Lloh6:
	add	x26, x26, lJTI0_1@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x23, [x20, #16]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	x2, x19
	mov	x3, x22
	bl	_set_windres_bfd_content
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w19, w22, w19
	ldr	x20, [x20, #64]
	cbz	x20, LBB0_21
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_23
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w22, #2
	adr	x9, LBB0_7
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x20, #24]
	lsl	w22, w9, #2
	cbnz	x21, LBB0_11
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w22, [x20, #40]
	cbnz	x21, LBB0_11
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w22, #4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x21, LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #4
	b.hi	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_reswr_alloc
	mov	x23, x0
	ldr	w8, [x20, #24]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x27, #0
	mov	x24, x23
LBB0_15:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #32]
	ldr	w2, [x8, x27, lsl #2]
	mov	x0, x21
	mov	x1, x24
	bl	_windres_put_16
	add	x27, x27, #1
	ldrsw	x8, [x20, #24]
	add	x24, x24, #16
	cmp	x27, x8
	b.lt	LBB0_15
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w22, [x20, #8]
	cbnz	x21, LBB0_11
	b	LBB0_4
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, sp, #8
	b	LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, sp, #8
	ldr	w2, [x20, #60]
	add	x1, sp, #8
	mov	x0, x21
	bl	_windres_put_16
	b	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x23, [x20, #48]
	b	LBB0_3
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, sp, #8
	ldr	w2, [x20, #56]
	add	x1, sp, #8
	mov	x0, x21
	bl	_windres_put_32
	b	LBB0_3
LBB0_21:
	ldr	x8, [sp, #24]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.22:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_23:
	bl	_abort
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_8-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_16-LBB0_7)>>2
lJTI0_1:
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
	.byte	(LBB0_20-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_res_to_bin_rcdata
.subsections_via_symbols
