	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function picolcd_fb_update_rate_show
_picolcd_fb_update_rate_show:           ## @picolcd_fb_update_rate_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	_dev_get_drvdata
	movq	_PICOLCDFB_UPDATE_RATE_LIMIT@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	je	LBB0_10
## %bb.1:
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %r15d
	movl	$1, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %ecx
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	callq	_snprintf
	addq	%rax, %r12
	incl	%ebx
	cmpl	(%r13), %ebx
	ja	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	subq	%r12, %rsi
	jbe	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%r14,%r12), %rdi
	cmpl	%ebx, %r15d
	jne	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str(%rip), %rdx
	movl	%r15d, %ecx
	jmp	LBB0_3
LBB0_7:
	testq	%r12, %r12
	je	LBB0_10
## %bb.8:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_min
	cltq
	movb	$10, -1(%rax,%r14)
	jmp	LBB0_11
LBB0_10:
	xorl	%r12d, %r12d
LBB0_11:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PICOLCDFB_UPDATE_RATE_LIMIT,4,2 ## @PICOLCDFB_UPDATE_RATE_LIMIT
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%u] "

L_.str.1:                               ## @.str.1
	.asciz	"%u "

	.no_dead_strip	_picolcd_fb_update_rate_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function picolcd_fb_update_rate_show
_picolcd_fb_update_rate_show:           ; @picolcd_fb_update_rate_show
	.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
	mov	x19, x2
	bl	_dev_get_drvdata
Lloh0:
	adrp	x25, _PICOLCDFB_UPDATE_RATE_LIMIT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _PICOLCDFB_UPDATE_RATE_LIMIT@GOTPAGEOFF]
	ldr	w8, [x25]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x20, #0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w21, [x8]
	mov	w22, #1
Lloh2:
	adrp	x26, _PAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _PAGE_SIZE@GOTPAGEOFF]
Lloh4:
	adrp	x23, l_.str@PAGE
Lloh5:
	add	x23, x23, l_.str@PAGEOFF
Lloh6:
	adrp	x24, l_.str.1@PAGE
Lloh7:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, x24
	mov	x3, x22
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_snprintf
	add	x20, x0, x20
	add	w22, w22, #1
	ldr	w8, [x25]
	cmp	w22, w8
	b.hi	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	subs	x1, x8, x20
	b.ls	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x19, x20
	cmp	w21, w22
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, x23
	mov	x3, x21
	b	LBB0_3
LBB0_7:
	cbz	x20, LBB0_10
; %bb.8:
	ldr	x1, [x26]
	mov	x0, x20
	bl	_min
	add	x8, x19, w0, sxtw
	mov	w9, #10
	sturb	w9, [x8, #-1]
	b	LBB0_10
LBB0_9:
	mov	x20, #0
LBB0_10:
	mov	x0, x20
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PICOLCDFB_UPDATE_RATE_LIMIT,4,2 ; @PICOLCDFB_UPDATE_RATE_LIMIT
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%u] "

l_.str.1:                               ; @.str.1
	.asciz	"%u "

	.no_dead_strip	_picolcd_fb_update_rate_show
.subsections_via_symbols
