	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lx_level_peaks                 ## -- Begin function lx_level_peaks
	.p2align	4, 0x90
_lx_level_peaks:                        ## @lx_level_peaks
	.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
	movq	%rcx, %rbx
	movl	%edx, %r15d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	callq	_spin_lock_irqsave
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_1
## %bb.2:
	leaq	8(%r14), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_peak_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	(%r13), %rax
	movl	(%rax), %edi
	movl	%edi, %eax
	andl	$15, %eax
	movq	(%rcx,%rax,8), %rax
	movq	%rdi, %rdx
	shrq	%rdx
	andl	$120, %edx
	movq	(%rcx,%rdx), %rdx
	movq	%rdi, %rsi
	shrq	$5, %rsi
	andl	$120, %esi
	movq	(%rcx,%rsi), %rsi
	shrq	$9, %rdi
	andl	$120, %edi
	movq	(%rcx,%rdi), %rcx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, (%rbx,%r12,8)
	movq	%rdx, 8(%rbx,%r12,8)
	movq	%rsi, 16(%rbx,%r12,8)
	movq	%rcx, 24(%rbx,%r12,8)
	addq	$4, %r12
	cmpl	-48(%rbp), %r12d                ## 4-byte Folded Reload
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_CMD_12_GET_PEAK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_lx_message_init
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	callq	_PIPE_INFO_TO_CMD
	movq	16(%r14), %rcx
	orl	%eax, (%rcx)
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_lx_message_send_atomic
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	xorl	%edx, %edx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	jmp	LBB0_6
LBB0_1:
	xorl	%r15d, %r15d
LBB0_7:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_12_GET_PEAK,4,2            ## @CMD_12_GET_PEAK
	.comm	_peak_map,8,3                   ## @peak_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lx_level_peaks                 ; -- Begin function lx_level_peaks
	.p2align	2
_lx_level_peaks:                        ; @lx_level_peaks
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_spin_lock_irqsave
	cmp	w21, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x23, #0
	add	x24, x19, #8
Lloh0:
	adrp	x26, _CMD_12_GET_PEAK@GOTPAGE
Lloh1:
	ldr	x26, [x26, _CMD_12_GET_PEAK@GOTPAGEOFF]
Lloh2:
	adrp	x27, _peak_map@GOTPAGE
Lloh3:
	ldr	x27, [x27, _peak_map@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x27]
	ldr	x8, [x24]
	ldr	w12, [x8]
	and	x8, x12, #0xf
	ldr	x8, [x11, x8, lsl #3]
	ubfx	x9, x12, #4, #4
	ldr	x9, [x11, x9, lsl #3]
	ubfx	x10, x12, #8, #4
	ldr	x10, [x11, x10, lsl #3]
	ubfx	x12, x12, #12, #4
	ldr	x11, [x11, x12, lsl #3]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x12, x20, x23, lsl #3
	stp	x8, x9, [x12]
	stp	x10, x11, [x12, #16]
	add	x23, x23, #4
	cmp	w23, w21
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	mov	x0, x24
	bl	_lx_message_init
	mov	x0, x22
	mov	x1, x23
	bl	_PIPE_INFO_TO_CMD
	ldr	x8, [x19, #16]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
	mov	x0, x19
	mov	x1, x24
	bl	_lx_message_send_atomic
	mov	x25, x0
	cbz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, #0
	mov	x9, #0
	mov	x10, #0
	mov	x11, #0
	b	LBB0_3
LBB0_6:
	mov	w25, #0
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_12_GET_PEAK,4,2            ; @CMD_12_GET_PEAK
	.comm	_peak_map,8,3                   ; @peak_map
.subsections_via_symbols
