	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LEDMeterMode_draw
_LEDMeterMode_draw:                     ## @LEDMeterMode_draw
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LEDMeterMode_digitsAscii@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_LEDMeterMode_digits@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_METER_BUFFER_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leal	-1(%rbx), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_Meter_updateValues
	movq	_out@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RichString_begin
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%rbx, %r12
	callq	_Meter_displayBuffer
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	addl	$2, %r13d
	movq	_CRT_colors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_LED_COLOR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_attrset
	movl	(%r14), %edx
	movl	%r13d, %edi
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movl	%r15d, %esi
	callq	_mvaddstr
	movl	(%r14), %edi
	callq	_strlen
	movl	%eax, %ebx
	movq	%r12, %r15
	movl	(%r12), %edi
	callq	_RichString_sizeVal
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	movl	%eax, %r12d
	addl	-52(%rbp), %ebx                 ## 4-byte Folded Reload
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsbl	%al, %edx
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_mvaddch
	movl	$1, %eax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	%eax, %ebx
	incl	%r14d
	cmpl	%r14d, %r12d
	je	LBB0_4
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movl	%r14d, %esi
	callq	_RichString_getCharVal
                                        ## kill: def $al killed $al def $rax
	leal	-48(%rax), %ecx
	cmpb	$9, %cl
	ja	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	%cl, %edx
	movl	%ebx, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LEDMeterMode_drawDigit
	movl	$4, %eax
	jmp	LBB0_7
LBB0_4:
	movq	_CRT_colors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_RESET_COLOR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_attrset
	movl	(%r15), %edi
	callq	_RichString_end
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.5:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LEDMeterMode_digitsAscii,4,2   ## @LEDMeterMode_digitsAscii
	.comm	_LEDMeterMode_digits,4,2        ## @LEDMeterMode_digits
	.comm	_METER_BUFFER_LEN,4,2           ## @METER_BUFFER_LEN
	.comm	_out,4,2                        ## @out
	.comm	_CRT_colors,8,3                 ## @CRT_colors
	.comm	_LED_COLOR,8,3                  ## @LED_COLOR
	.comm	_RESET_COLOR,8,3                ## @RESET_COLOR
	.comm	_CRT_utf8,8,3                   ## @CRT_utf8
	.comm	_LEDMeterMode_digitsUtf8,4,2    ## @LEDMeterMode_digitsUtf8
	.no_dead_strip	_LEDMeterMode_draw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LEDMeterMode_draw
_LEDMeterMode_draw:                     ; @LEDMeterMode_draw
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x19, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _LEDMeterMode_digitsAscii@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LEDMeterMode_digitsAscii@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _LEDMeterMode_digits@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LEDMeterMode_digits@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
Lloh9:
	adrp	x8, _METER_BUFFER_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _METER_BUFFER_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	mov	x9, x8
Lloh12:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh13:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x1fffffff0
	sub	x21, x9, x10
	mov	sp, x21
	sub	w2, w8, #1
	mov	x1, x21
	bl	_Meter_updateValues
Lloh14:
	adrp	x20, _out@GOTPAGE
Lloh15:
	ldr	x20, [x20, _out@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RichString_begin
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	bl	_Meter_displayBuffer
	add	w21, w19, #2
Lloh16:
	adrp	x26, _CRT_colors@GOTPAGE
Lloh17:
	ldr	x26, [x26, _CRT_colors@GOTPAGEOFF]
	ldr	x8, [x26]
Lloh18:
	adrp	x9, _LED_COLOR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _LED_COLOR@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_attrset
	ldr	w2, [x23]
	mov	x0, x21
	mov	x1, x22
	bl	_mvaddstr
	ldr	w0, [x23]
	bl	_strlen
	mov	x25, x0
	ldr	w0, [x20]
	bl	_RichString_sizeVal
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x23, x0
	mov	w24, #0
	add	w22, w25, w22
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_mvaddch
	mov	w8, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, w8
	add	w24, w24, #1
	cmp	w23, w24
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x24
	bl	_RichString_getCharVal
	sub	w8, w0, #48
	cmp	w8, #9
	b.hi	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w2, w8
	mov	x0, x22
	mov	x1, x19
	bl	_LEDMeterMode_drawDigit
	mov	w8, #4
	b	LBB0_3
LBB0_6:
	ldr	x8, [x26]
Lloh21:
	adrp	x9, _RESET_COLOR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RESET_COLOR@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_attrset
	ldr	w0, [x20]
	bl	_RichString_end
	ldur	x8, [x29, #-72]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_LEDMeterMode_digitsAscii,4,2   ; @LEDMeterMode_digitsAscii
	.comm	_LEDMeterMode_digits,4,2        ; @LEDMeterMode_digits
	.comm	_METER_BUFFER_LEN,4,2           ; @METER_BUFFER_LEN
	.comm	_out,4,2                        ; @out
	.comm	_CRT_colors,8,3                 ; @CRT_colors
	.comm	_LED_COLOR,8,3                  ; @LED_COLOR
	.comm	_RESET_COLOR,8,3                ; @RESET_COLOR
	.comm	_CRT_utf8,8,3                   ; @CRT_utf8
	.comm	_LEDMeterMode_digitsUtf8,4,2    ; @LEDMeterMode_digitsUtf8
	.no_dead_strip	_LEDMeterMode_draw
.subsections_via_symbols
