	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sumo_construct_display_voltage_mapping_table
_sumo_construct_display_voltage_mapping_table: ## @sumo_construct_display_voltage_mapping_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SUMO_MAX_NUMBER_VOLTAGES@GOTPCREL(%rip), %r8
	cmpq	$0, (%r8)
	je	LBB0_6
## %bb.1:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rsi), %rax
	movq	%rdi, (%rax,%rcx,8)
	incq	%rcx
	cmpq	(%r8), %rcx
	jb	LBB0_2
## %bb.4:
	movq	%rcx, 8(%rsi)
	popq	%rbp
	retq
LBB0_5:
	movq	%rcx, 8(%rsi)
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.7:
	popq	%rbp
	retq
LBB0_6:
	movq	(%rsi), %rax
	movq	$80000, (%rax)                  ## imm = 0x13880
	movq	$1, 8(%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUMO_MAX_NUMBER_VOLTAGES,8,3   ## @SUMO_MAX_NUMBER_VOLTAGES
	.no_dead_strip	_sumo_construct_display_voltage_mapping_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sumo_construct_display_voltage_mapping_table
_sumo_construct_display_voltage_mapping_table: ; @sumo_construct_display_voltage_mapping_table
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SUMO_MAX_NUMBER_VOLTAGES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUMO_MAX_NUMBER_VOLTAGES@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_7
; %bb.1:
	mov	x9, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x2, x9, lsl #3]
	cbz	x10, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x11, [x1]
	str	x10, [x11, x9, lsl #3]
	add	x9, x9, #1
	ldr	x10, [x8]
	cmp	x9, x10
	b.lo	LBB0_2
; %bb.4:
	str	x9, [x1, #8]
	ret
LBB0_5:
	str	x9, [x1, #8]
	cbz	x9, LBB0_7
; %bb.6:
	ret
LBB0_7:
	ldr	x8, [x1]
	mov	w9, #14464
	movk	w9, #1, lsl #16
	str	x9, [x8]
	mov	w8, #1
	str	x8, [x1, #8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SUMO_MAX_NUMBER_VOLTAGES,8,3   ; @SUMO_MAX_NUMBER_VOLTAGES
	.no_dead_strip	_sumo_construct_display_voltage_mapping_table
.subsections_via_symbols
