	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_draw_encoder                   ## -- Begin function draw_encoder
	.p2align	4, 0x90
_draw_encoder:                          ## @draw_encoder
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	leaq	1(%rbx), %rdi
	leaq	2(%r14), %rsi
	movq	_PIXEL_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_NORM@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rdx
	xorl	%r9d, %r9d
	callq	_draw_string
	jmp	LBB0_3
LBB0_2:
	addq	$-22, %rbx
LBB0_3:
	leaq	22(%rbx), %rdi
	leaq	1(%r14), %rsi
	movq	_PIXEL_ON@GOTPCREL(%rip), %r15
	movl	(%r15), %r8d
	movq	_NORM@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$21, %edx
	movl	$9, %ecx
	callq	_draw_rect_filled_soft
	movq	_encoder_mode@GOTPCREL(%rip), %rcx
	movl	$-129, %eax
	addl	(%rcx), %eax
	cmpl	$7, %eax
	ja	LBB0_4
## %bb.5:
	cltq
	leaq	l_reltable.draw_encoder(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdx
	addq	%rcx, %rdx
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.2(%rip), %rdx
LBB0_6:
	addq	$24, %rbx
	addq	$2, %r14
	movl	(%r15), %ecx
	movq	_XOR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%r9d, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_draw_string                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ENC"

	.comm	_PIXEL_ON,4,2                   ## @PIXEL_ON
	.comm	_NORM,4,2                       ## @NORM
	.comm	_encoder_mode,4,2               ## @encoder_mode
L_.str.2:                               ## @.str.2
	.asciz	"VOL"

L_.str.3:                               ## @.str.3
	.asciz	"MED"

L_.str.4:                               ## @.str.4
	.asciz	"SCR"

L_.str.5:                               ## @.str.5
	.asciz	"BRT"

L_.str.6:                               ## @.str.6
	.asciz	"BKL"

L_.str.7:                               ## @.str.7
	.asciz	"CLK"

L_.str.8:                               ## @.str.8
	.asciz	"CS0"

L_.str.9:                               ## @.str.9
	.asciz	"CS1"

L_.str.10:                              ## @.str.10
	.asciz	"CS2"

	.comm	_XOR,4,2                        ## @XOR
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.draw_encoder
l_reltable.draw_encoder:
	.long	L_.str.4-l_reltable.draw_encoder
	.long	L_.str.3-l_reltable.draw_encoder
	.long	L_.str.10-l_reltable.draw_encoder
	.long	L_.str.9-l_reltable.draw_encoder
	.long	L_.str.8-l_reltable.draw_encoder
	.long	L_.str.7-l_reltable.draw_encoder
	.long	L_.str.5-l_reltable.draw_encoder
	.long	L_.str.6-l_reltable.draw_encoder

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_draw_encoder                   ; -- Begin function draw_encoder
	.p2align	2
_draw_encoder:                          ; @draw_encoder
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _PIXEL_ON@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PIXEL_ON@GOTPAGEOFF]
Lloh2:
	adrp	x22, _NORM@GOTPAGE
Lloh3:
	ldr	x22, [x22, _NORM@GOTPAGEOFF]
	cbz	w2, LBB0_2
; %bb.1:
	add	x0, x20, #1
	add	x1, x19, #2
	ldr	w3, [x21]
	ldr	w4, [x22]
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	mov	w5, #0
	bl	_draw_string
	b	LBB0_3
LBB0_2:
	sub	x20, x20, #22
LBB0_3:
	add	x0, x20, #22
	add	x1, x19, #1
	ldr	w4, [x21]
	ldr	w5, [x22]
	mov	w2, #21
	mov	w3, #9
	bl	_draw_rect_filled_soft
Lloh6:
	adrp	x8, _encoder_mode@GOTPAGE
Lloh7:
	ldr	x8, [x8, _encoder_mode@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	sub	w8, w8, #129
	cmp	w8, #7
	b.hi	LBB0_5
; %bb.4:
Lloh9:
	adrp	x9, l_switch.table.draw_encoder@PAGE
Lloh10:
	add	x9, x9, l_switch.table.draw_encoder@PAGEOFF
	ldr	x2, [x9, w8, sxtw #3]
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x2, l_.str.2@PAGE
Lloh12:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_6:
	add	x0, x20, #24
	add	x1, x19, #2
	ldr	w3, [x21]
Lloh13:
	adrp	x8, _XOR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _XOR@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x8]
	mov	w5, #0
	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
	b	_draw_string
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ENC"

	.comm	_PIXEL_ON,4,2                   ; @PIXEL_ON
	.comm	_NORM,4,2                       ; @NORM
	.comm	_encoder_mode,4,2               ; @encoder_mode
l_.str.2:                               ; @.str.2
	.asciz	"VOL"

l_.str.3:                               ; @.str.3
	.asciz	"MED"

l_.str.4:                               ; @.str.4
	.asciz	"SCR"

l_.str.5:                               ; @.str.5
	.asciz	"BRT"

l_.str.6:                               ; @.str.6
	.asciz	"BKL"

l_.str.7:                               ; @.str.7
	.asciz	"CLK"

l_.str.8:                               ; @.str.8
	.asciz	"CS0"

l_.str.9:                               ; @.str.9
	.asciz	"CS1"

l_.str.10:                              ; @.str.10
	.asciz	"CS2"

	.comm	_XOR,4,2                        ; @XOR
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.draw_encoder
l_switch.table.draw_encoder:
	.quad	l_.str.4
	.quad	l_.str.3
	.quad	l_.str.10
	.quad	l_.str.9
	.quad	l_.str.8
	.quad	l_.str.7
	.quad	l_.str.5
	.quad	l_.str.6

.subsections_via_symbols
