	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DisplayOptionsPanel_eventHandler
_DisplayOptionsPanel_eventHandler:      ## @DisplayOptionsPanel_eventHandler
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	_IGNORED@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	callq	_Panel_getSelected
	movq	%rax, %r15
	cmpl	$32, %ebx
	jbe	LBB0_3
LBB0_1:
	addl	$-128, %ebx
	cmpl	$3, %ebx
	jb	LBB0_4
## %bb.2:
	movq	_HANDLED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_5
	jmp	LBB0_6
LBB0_3:
	movl	%ebx, %eax
	movabsq	$4294976512, %rcx               ## imm = 0x100002400
	btq	%rax, %rcx
	jae	LBB0_1
LBB0_4:
	movq	%r15, %rdi
	callq	_CheckItem_get
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	movq	%r15, %rdi
	callq	_CheckItem_set
	movq	_HANDLED@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_5:
	movq	8(%r12), %rax
	movl	$1, (%rax)
	movq	(%r12), %rax
	movq	16(%rax), %rbx
	movq	%rbx, %rdi
	callq	_Header_calculateHeight
	movq	%rbx, %rdi
	callq	_Header_reinit
	movq	%rbx, %rdi
	callq	_Header_draw
	movq	(%r12), %rdi
	movl	8(%rdi), %esi
	movl	(%rbx), %edx
	movl	(%rdi), %r8d
	movl	4(%rdi), %ecx
	callq	_ScreenManager_resize
LBB0_6:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IGNORED,8,3                    ## @IGNORED
	.comm	_HANDLED,8,3                    ## @HANDLED
	.no_dead_strip	_DisplayOptionsPanel_eventHandler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DisplayOptionsPanel_eventHandler
_DisplayOptionsPanel_eventHandler:      ; @DisplayOptionsPanel_eventHandler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _IGNORED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IGNORED@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	bl	_Panel_getSelected
	mov	x21, x0
	cmp	w22, #32
	b.ls	LBB0_3
LBB0_1:
	sub	w8, w22, #128
	cmp	w8, #3
	b.lo	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _HANDLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HANDLED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x20, x8
	b.eq	LBB0_5
	b	LBB0_6
LBB0_3:
	mov	w8, w22
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #9216
	movk	x9, #1, lsl #32
	tst	x8, x9
	b.eq	LBB0_1
LBB0_4:
	mov	x0, x21
	bl	_CheckItem_get
	cmp	w0, #0
	cset	w1, eq
	mov	x0, x21
	bl	_CheckItem_set
Lloh6:
	adrp	x8, _HANDLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HANDLED@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
LBB0_5:
	mov	w8, #1
	ldp	x10, x9, [x19]
	str	w8, [x9]
	ldr	x21, [x10, #16]
	mov	x0, x21
	bl	_Header_calculateHeight
	mov	x0, x21
	bl	_Header_reinit
	mov	x0, x21
	bl	_Header_draw
	ldr	x0, [x19]
	ldp	w3, w1, [x0, #4]
	ldr	w2, [x21]
	ldr	w4, [x0]
	bl	_ScreenManager_resize
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IGNORED,8,3                    ; @IGNORED
	.comm	_HANDLED,8,3                    ; @HANDLED
	.no_dead_strip	_DisplayOptionsPanel_eventHandler
.subsections_via_symbols
