	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_power
_parse_power:                           ## @parse_power
	.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
	cmpq	%rsi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movl	%eax, (%rdx)
	movl	$0, 4(%rdx)
	addq	$4, %rbx
	movq	_CISTPL_POWER_HIGHZ_OK@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	btl	%r12d, %eax
	jae	LBB0_20
	.p2align	4, 0x90
LBB0_5:
	cmpq	%r14, %rbx
	je	LBB0_1
## %bb.6:
	movl	(%rbx), %edi
	callq	_POWER_CVT
	movq	8(%r15), %rcx
	movq	%rax, (%rcx,%r12,8)
	movl	(%rbx), %edi
	callq	_POWER_SCALE
	testb	$-128, (%rbx)
	je	LBB0_19
## %bb.7:
	movq	_CISTPL_POWER_HIGHZ_REQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%r13), %edx
	addq	$4, %rbx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	imull	%eax, %edi
	movslq	%edi, %rdi
	imulq	$1374389535, %rdi, %rdi         ## imm = 0x51EB851F
	movq	%rdi, %rbx
	shrq	$63, %rbx
	sarq	$37, %rdi
	addl	%ebx, %edi
	movslq	%edi, %rdi
	movq	8(%r15), %rbx
	addq	%rdi, (%rbx,%r12,8)
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=1
	leaq	4(%rsi), %rbx
	testb	$-128, (%rsi)
	je	LBB0_18
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, %rbx
	je	LBB0_1
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rsi
	movl	(%rbx), %ebx
	movl	%ebx, %edi
	andl	$127, %edi
	cmpl	$99, %edi
	jbe	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$127, %ebx
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$126, %ebx
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$125, %ebx
	jne	LBB0_1
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	orl	%edx, 4(%r15)
	jmp	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	orl	%ecx, 4(%r15)
	jmp	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r15), %rdi
	movq	$0, (%rdi,%r12,8)
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_18:
	addq	$-4, %rbx
LBB0_19:
	addq	$4, %rbx
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	incq	%r12
	cmpq	$7, %r12
	je	LBB0_2
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	(%r15), %eax
	btl	%r12d, %eax
	jb	LBB0_5
	jmp	LBB0_20
LBB0_1:
	xorl	%ebx, %ebx
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CISTPL_POWER_HIGHZ_OK,4,2      ## @CISTPL_POWER_HIGHZ_OK
	.comm	_CISTPL_POWER_HIGHZ_REQ,4,2     ## @CISTPL_POWER_HIGHZ_REQ
	.no_dead_strip	_parse_power
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_power
_parse_power:                           ; @parse_power
	.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
	cmp	x0, x1
	b.eq	LBB0_20
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x22, #0
	ldr	w8, [x21], #4
	stp	w8, wzr, [x2]
Lloh0:
	adrp	x23, _CISTPL_POWER_HIGHZ_REQ@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CISTPL_POWER_HIGHZ_REQ@GOTPAGEOFF]
Lloh2:
	adrp	x24, _CISTPL_POWER_HIGHZ_OK@GOTPAGE
Lloh3:
	ldr	x24, [x24, _CISTPL_POWER_HIGHZ_OK@GOTPAGEOFF]
	mov	w25, #34079
	movk	w25, #20971, lsl #16
	lsr	w8, w8, w22
	tbz	w8, #0, LBB0_18
LBB0_2:
	cmp	x21, x20
	b.eq	LBB0_20
; %bb.3:
	ldr	w0, [x21]
	bl	_POWER_CVT
	ldr	x8, [x19, #8]
	str	x0, [x8, x22, lsl #3]
	ldr	w0, [x21]
	bl	_POWER_SCALE
	ldrb	w8, [x21]
	tbz	w8, #7, LBB0_17
; %bb.4:
	ldr	w8, [x23]
	ldr	w10, [x24]
	add	x9, x21, #4
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mul	w11, w12, w0
	smull	x11, w11, w25
	lsr	x12, x11, #63
	asr	x11, x11, #37
	add	w11, w11, w12
	ldr	x12, [x19, #8]
	lsl	x13, x22, #3
	ldr	x14, [x12, x13]
	add	x11, x14, w11, sxtw
	str	x11, [x12, x13]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w11, [x9], #4
	tbz	w11, #7, LBB0_16
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x9, x20
	b.eq	LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w11, [x9]
	and	w12, w11, #0x7f
	cmp	w12, #99
	b.ls	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w11, #127
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w11, #126
	b.eq	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w11, #125
	b.ne	LBB0_20
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w11, [x19, #4]
	orr	w11, w11, w10
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w11, [x19, #4]
	orr	w11, w11, w8
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w11, [x19, #4]
	b	LBB0_6
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x11, [x19, #8]
	str	xzr, [x11, x22, lsl #3]
	b	LBB0_6
LBB0_16:
	sub	x21, x9, #4
LBB0_17:
	add	x21, x21, #4
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add	x22, x22, #1
	cmp	x22, #7
	b.eq	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	w8, [x19]
	lsr	w8, w8, w22
	tbnz	w8, #0, LBB0_2
	b	LBB0_18
LBB0_20:
	mov	x21, #0
LBB0_21:
	mov	x0, x21
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CISTPL_POWER_HIGHZ_OK,4,2      ; @CISTPL_POWER_HIGHZ_OK
	.comm	_CISTPL_POWER_HIGHZ_REQ,4,2     ; @CISTPL_POWER_HIGHZ_REQ
	.no_dead_strip	_parse_power
.subsections_via_symbols
