	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bin_to_res                     ## -- Begin function bin_to_res
	.p2align	4, 0x90
_bin_to_res:                            ## @bin_to_res
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	testq	%rdx, %rdx
	je	LBB0_1
LBB0_19:
	movq	%rcx, %rsi
	movl	%r8d, %edx
	popq	%rbp
	jmp	_bin_to_res_userdata            ## TAILCALL
LBB0_1:
	addl	$-128, %esi
	cmpl	$14, %esi
	ja	LBB0_19
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_17:
	movq	%rcx, %rsi
	movl	%r8d, %edx
	popq	%rbp
	jmp	_bin_to_res_version             ## TAILCALL
LBB0_18:
	movq	%rcx, %rsi
	movl	%r8d, %edx
	popq	%rbp
	jmp	_bin_to_res_toolbar             ## TAILCALL
LBB0_9:
	movq	%rcx, %rsi
	movl	%r8d, %edx
	popq	%rbp
	jmp	_bin_to_res_string              ## TAILCALL
LBB0_13:
	movq	_RES_TYPE_RCDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rcx, %rsi
	movl	%r8d, %edx
	movl	%eax, %ecx
	popq	%rbp
	jmp	_bin_to_res_rcdata              ## TAILCALL
LBB0_14:
	movq	_RES_TYPE_MESSAGETABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movq	%rcx, %rsi
	movl	%r8d, %edx
	popq	%rbp
	jmp	_bin_to_res_menu                ## TAILCALL
LBB0_6:
	movq	_RES_TYPE_ICON@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_16:
	movq	%rcx, %rsi
	movl	%r8d, %edx
	popq	%rbp
	jmp	_bin_to_res_group_icon          ## TAILCALL
LBB0_15:
	movq	%rcx, %rsi
	movl	%r8d, %edx
	popq	%rbp
	jmp	_bin_to_res_group_cursor        ## TAILCALL
LBB0_10:
	movq	%rcx, %rsi
	movl	%r8d, %edx
	popq	%rbp
	jmp	_bin_to_res_fontdir             ## TAILCALL
LBB0_11:
	movq	_RES_TYPE_FONT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_8:
	movq	%rcx, %rsi
	movl	%r8d, %edx
	popq	%rbp
	jmp	_bin_to_res_dialog              ## TAILCALL
LBB0_3:
	movq	%rcx, %rsi
	movl	%r8d, %edx
	popq	%rbp
	jmp	_bin_to_res_cursor              ## TAILCALL
LBB0_4:
	movq	_RES_TYPE_BITMAP@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	%rcx, %rdx
	movl	%r8d, %ecx
	popq	%rbp
	jmp	_bin_to_res_generic             ## TAILCALL
LBB0_12:
	movq	%rcx, %rsi
	movl	%r8d, %edx
	popq	%rbp
	jmp	_bin_to_res_accelerators        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_16
	.long	L0_0_set_15
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_RES_TYPE_BITMAP,4,2            ## @RES_TYPE_BITMAP
	.comm	_RES_TYPE_ICON,4,2              ## @RES_TYPE_ICON
	.comm	_RES_TYPE_FONT,4,2              ## @RES_TYPE_FONT
	.comm	_RES_TYPE_RCDATA,4,2            ## @RES_TYPE_RCDATA
	.comm	_RES_TYPE_MESSAGETABLE,4,2      ## @RES_TYPE_MESSAGETABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bin_to_res                     ; -- Begin function bin_to_res
	.p2align	2
_bin_to_res:                            ; @bin_to_res
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_2
LBB0_1:
	mov	x1, x3
	mov	x2, x4
	b	_bin_to_res_userdata
LBB0_2:
	sub	w8, w1, #128
	cmp	w8, #14
	b.hi	LBB0_1
; %bb.3:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	x1, x3
	mov	x2, x4
	b	_bin_to_res_version
LBB0_5:
	mov	x1, x3
	mov	x2, x4
	b	_bin_to_res_toolbar
LBB0_6:
	mov	x1, x3
	mov	x2, x4
	b	_bin_to_res_string
LBB0_7:
Lloh2:
	adrp	x8, _RES_TYPE_RCDATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RES_TYPE_RCDATA@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	x1, x3
	mov	x2, x4
	mov	x3, x8
	b	_bin_to_res_rcdata
LBB0_8:
Lloh5:
	adrp	x8, _RES_TYPE_MESSAGETABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RES_TYPE_MESSAGETABLE@GOTPAGEOFF]
	b	LBB0_18
LBB0_9:
	mov	x1, x3
	mov	x2, x4
	b	_bin_to_res_menu
LBB0_10:
Lloh7:
	adrp	x8, _RES_TYPE_ICON@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RES_TYPE_ICON@GOTPAGEOFF]
	b	LBB0_18
LBB0_11:
	mov	x1, x3
	mov	x2, x4
	b	_bin_to_res_group_icon
LBB0_12:
	mov	x1, x3
	mov	x2, x4
	b	_bin_to_res_group_cursor
LBB0_13:
	mov	x1, x3
	mov	x2, x4
	b	_bin_to_res_fontdir
LBB0_14:
Lloh9:
	adrp	x8, _RES_TYPE_FONT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RES_TYPE_FONT@GOTPAGEOFF]
	b	LBB0_18
LBB0_15:
	mov	x1, x3
	mov	x2, x4
	b	_bin_to_res_dialog
LBB0_16:
	mov	x1, x3
	mov	x2, x4
	b	_bin_to_res_cursor
LBB0_17:
Lloh11:
	adrp	x8, _RES_TYPE_BITMAP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RES_TYPE_BITMAP@GOTPAGEOFF]
LBB0_18:
	ldr	w1, [x8]
	mov	x2, x3
	mov	x3, x4
	b	_bin_to_res_generic
LBB0_19:
	mov	x1, x3
	mov	x2, x4
	b	_bin_to_res_accelerators
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_17-LBB0_4)>>2
	.byte	(LBB0_19-LBB0_4)>>2
                                        ; -- End function
	.comm	_RES_TYPE_BITMAP,4,2            ; @RES_TYPE_BITMAP
	.comm	_RES_TYPE_ICON,4,2              ; @RES_TYPE_ICON
	.comm	_RES_TYPE_FONT,4,2              ; @RES_TYPE_FONT
	.comm	_RES_TYPE_RCDATA,4,2            ; @RES_TYPE_RCDATA
	.comm	_RES_TYPE_MESSAGETABLE,4,2      ; @RES_TYPE_MESSAGETABLE
.subsections_via_symbols
