	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wakeup_data_show
_wakeup_data_show:                      ## @wakeup_data_show
	.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	%rdx, %r14
	callq	_to_rc_dev
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_CIR_WAKE_FIFO_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_nvt_cir_wake_reg_read
	movq	_WAKEUP_MAX_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_min
	movl	%eax, %r13d
	movq	_CIR_WAKE_RD_FIFO_ONLY_IDX@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_nvt_cir_wake_reg_read
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_CIR_WAKE_RD_FIFO_ONLY@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_nvt_cir_wake_reg_read
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_nvt_cir_wake_reg_read
	testl	%eax, %eax
	jne	LBB0_2
LBB0_3:
	xorl	%ebx, %ebx
	testl	%r13d, %r13d
	jle	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_CIR_WAKE_RD_FIFO_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_nvt_cir_wake_reg_read
	movq	_BUF_LEN_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_SAMPLE_PERIOD@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	movslq	%ebx, %r12
	leaq	(%r14,%r12), %rdi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	subl	%r12d, %esi
	leaq	L_.str(%rip), %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	movl	%eax, %ebx
	addl	%r12d, %ebx
	decl	%r13d
	jne	LBB0_4
LBB0_5:
	movslq	%ebx, %r12
	addq	%r12, %r14
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	subl	%r12d, %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_snprintf
	movl	%eax, %ebx
	addl	%r12d, %ebx
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CIR_WAKE_FIFO_COUNT,4,2        ## @CIR_WAKE_FIFO_COUNT
	.comm	_WAKEUP_MAX_SIZE,4,2            ## @WAKEUP_MAX_SIZE
	.comm	_CIR_WAKE_RD_FIFO_ONLY_IDX,4,2  ## @CIR_WAKE_RD_FIFO_ONLY_IDX
	.comm	_CIR_WAKE_RD_FIFO_ONLY,4,2      ## @CIR_WAKE_RD_FIFO_ONLY
	.comm	_BUF_LEN_MASK,4,2               ## @BUF_LEN_MASK
	.comm	_SAMPLE_PERIOD,4,2              ## @SAMPLE_PERIOD
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d "

L_.str.1:                               ## @.str.1
	.asciz	"\n"

	.no_dead_strip	_wakeup_data_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wakeup_data_show
_wakeup_data_show:                      ; @wakeup_data_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x2
	bl	_to_rc_dev
	ldr	x19, [x0]
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _CIR_WAKE_FIFO_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CIR_WAKE_FIFO_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nvt_cir_wake_reg_read
Lloh3:
	adrp	x8, _WAKEUP_MAX_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WAKEUP_MAX_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_min
	mov	x21, x0
Lloh6:
	adrp	x22, _CIR_WAKE_RD_FIFO_ONLY_IDX@GOTPAGE
Lloh7:
	ldr	x22, [x22, _CIR_WAKE_RD_FIFO_ONLY_IDX@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_nvt_cir_wake_reg_read
	cbz	w0, LBB0_3
; %bb.1:
Lloh8:
	adrp	x23, _CIR_WAKE_RD_FIFO_ONLY@GOTPAGE
Lloh9:
	ldr	x23, [x23, _CIR_WAKE_RD_FIFO_ONLY@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	bl	_nvt_cir_wake_reg_read
	ldr	w1, [x22]
	mov	x0, x19
	bl	_nvt_cir_wake_reg_read
	cbnz	w0, LBB0_2
LBB0_3:
Lloh10:
	adrp	x24, _PAGE_SIZE@GOTPAGE
Lloh11:
	ldr	x24, [x24, _PAGE_SIZE@GOTPAGEOFF]
	cmp	w21, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w23, #0
Lloh12:
	adrp	x25, _CIR_WAKE_RD_FIFO_ONLY@GOTPAGE
Lloh13:
	ldr	x25, [x25, _CIR_WAKE_RD_FIFO_ONLY@GOTPAGEOFF]
Lloh14:
	adrp	x26, _BUF_LEN_MASK@GOTPAGE
Lloh15:
	ldr	x26, [x26, _BUF_LEN_MASK@GOTPAGEOFF]
Lloh16:
	adrp	x27, _SAMPLE_PERIOD@GOTPAGE
Lloh17:
	ldr	x27, [x27, _SAMPLE_PERIOD@GOTPAGEOFF]
Lloh18:
	adrp	x22, l_.str@PAGE
Lloh19:
	add	x22, x22, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	mov	x0, x19
	bl	_nvt_cir_wake_reg_read
	ldr	w8, [x26]
	and	w8, w8, w0
	ldr	w9, [x27]
	mul	w8, w8, w9
	add	x0, x20, w23, sxtw
	ldr	w9, [x24]
	sub	w1, w9, w23
	str	x8, [sp]
	mov	x2, x22
	bl	_snprintf
	add	w23, w0, w23
	subs	w21, w21, #1
	b.ne	LBB0_5
	b	LBB0_7
LBB0_6:
	mov	w23, #0
LBB0_7:
	add	x0, x20, w23, sxtw
	ldr	w8, [x24]
	sub	w1, w8, w23
Lloh20:
	adrp	x2, l_.str.1@PAGE
Lloh21:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_snprintf
	add	w20, w0, w23
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_CIR_WAKE_FIFO_COUNT,4,2        ; @CIR_WAKE_FIFO_COUNT
	.comm	_WAKEUP_MAX_SIZE,4,2            ; @WAKEUP_MAX_SIZE
	.comm	_CIR_WAKE_RD_FIFO_ONLY_IDX,4,2  ; @CIR_WAKE_RD_FIFO_ONLY_IDX
	.comm	_CIR_WAKE_RD_FIFO_ONLY,4,2      ; @CIR_WAKE_RD_FIFO_ONLY
	.comm	_BUF_LEN_MASK,4,2               ; @BUF_LEN_MASK
	.comm	_SAMPLE_PERIOD,4,2              ; @SAMPLE_PERIOD
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d "

l_.str.1:                               ; @.str.1
	.asciz	"\n"

	.no_dead_strip	_wakeup_data_show
.subsections_via_symbols
