	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_allowed_controls
_enable_allowed_controls:               ## @enable_allowed_controls
	.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
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_12
## %bb.1:
	movl	%edi, %r14d
	movslq	%esi, %rax
	leaq	l_switch.table.enable_allowed_controls(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_key2code@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_SIZEOF
	testl	%eax, %eax
	jle	LBB0_12
## %bb.2:
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movq	(%r13), %rdi
	callq	_SIZEOF
	cltq
	cmpq	%rax, %r12
	jge	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	cmpl	$0, (%rax,%r12,8)
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rax,%r12,8), %esi
	movl	%r14d, %edi
	callq	_GetDlgItem
	movl	%eax, %r15d
	movq	(%r13), %rax
	movl	(%rax,%r12,8), %eax
	movq	_BITMASK_IS_STATS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_calc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IsWindow
	testq	%rax, %rax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	sete	%al
	movq	_TRUE@GOTPCREL(%rip), %rcx
	testb	%al, %al
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rcx
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rcx), %rbx
	movl	%r15d, %edi
	callq	_IsWindowEnabled
	cmpq	%rbx, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_EnableWindow
	jmp	LBB0_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BITMASK_DEC_MASK,4,2           ## @BITMASK_DEC_MASK
	.comm	_BITMASK_HEX_MASK,4,2           ## @BITMASK_HEX_MASK
	.comm	_BITMASK_OCT_MASK,4,2           ## @BITMASK_OCT_MASK
	.comm	_BITMASK_BIN_MASK,4,2           ## @BITMASK_BIN_MASK
	.comm	_key2code,8,3                   ## @key2code
	.comm	_BITMASK_IS_STATS,4,2           ## @BITMASK_IS_STATS
	.comm	_calc,4,2                       ## @calc
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,8,3                      ## @FALSE
	.no_dead_strip	_enable_allowed_controls
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.enable_allowed_controls
l_switch.table.enable_allowed_controls:
	.quad	_BITMASK_OCT_MASK
	.quad	_BITMASK_HEX_MASK
	.quad	_BITMASK_DEC_MASK
	.quad	_BITMASK_BIN_MASK

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_allowed_controls
_enable_allowed_controls:               ; @enable_allowed_controls
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_10
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, l_switch.table.enable_allowed_controls@PAGE
Lloh1:
	add	x9, x9, l_switch.table.enable_allowed_controls@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w22, [x8]
Lloh2:
	adrp	x23, _key2code@GOTPAGE
Lloh3:
	ldr	x23, [x23, _key2code@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_SIZEOF
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x24, #0
	mov	x25, #0
Lloh4:
	adrp	x26, _BITMASK_IS_STATS@GOTPAGE
Lloh5:
	ldr	x26, [x26, _BITMASK_IS_STATS@GOTPAGEOFF]
Lloh6:
	adrp	x27, _TRUE@GOTPAGE
Lloh7:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
Lloh8:
	adrp	x28, _FALSE@GOTPAGE
Lloh9:
	ldr	x28, [x28, _FALSE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldr	x0, [x23]
	bl	_SIZEOF
	add	x24, x24, #8
	cmp	x25, w0, sxtw
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w9, [x8, x24]
	cbz	w9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, x24
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_GetDlgItem
	mov	x20, x0
	ldr	x8, [x23]
	ldr	w8, [x8, x24]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh10:
	adrp	x8, _calc@GOTPAGE
Lloh11:
	ldr	x8, [x8, _calc@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_IsWindow
	cmp	x0, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	tst	w8, w22
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cset	w8, eq
	cmp	w8, #0
	csel	x8, x28, x27, ne
	ldr	x21, [x8]
	mov	x0, x20
	bl	_IsWindowEnabled
	cmp	x0, x21
	b.eq	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_EnableWindow
	b	LBB0_3
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_BITMASK_DEC_MASK,4,2           ; @BITMASK_DEC_MASK
	.comm	_BITMASK_HEX_MASK,4,2           ; @BITMASK_HEX_MASK
	.comm	_BITMASK_OCT_MASK,4,2           ; @BITMASK_OCT_MASK
	.comm	_BITMASK_BIN_MASK,4,2           ; @BITMASK_BIN_MASK
	.comm	_key2code,8,3                   ; @key2code
	.comm	_BITMASK_IS_STATS,4,2           ; @BITMASK_IS_STATS
	.comm	_calc,4,2                       ; @calc
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,8,3                      ; @FALSE
	.no_dead_strip	_enable_allowed_controls
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.enable_allowed_controls
l_switch.table.enable_allowed_controls:
	.quad	_BITMASK_OCT_MASK
	.quad	_BITMASK_HEX_MASK
	.quad	_BITMASK_DEC_MASK
	.quad	_BITMASK_BIN_MASK

.subsections_via_symbols
