	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function picolcd_fb_update_rate_store
_picolcd_fb_update_rate_store:          ## @picolcd_fb_update_rate_store
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r15
	callq	_dev_get_drvdata
	movq	%rax, %r14
	leaq	-11(%rbx), %rax
	cmpq	$-11, %rax
	jbe	LBB0_1
## %bb.3:
	movq	(%r14), %rax
	movq	8(%rax), %r12
	leaq	L_.str(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.4:
	movl	-36(%rbp), %ecx
	movq	_PICOLCDFB_UPDATE_RATE_LIMIT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jbe	LBB0_6
## %bb.5:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subq	(%rax), %rbx
LBB0_9:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	testl	%ecx, %ecx
	jne	LBB0_8
## %bb.7:
	movq	_PICOLCDFB_UPDATE_RATE_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_8:
	movl	%ecx, (%r12)
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	divl	%ecx
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,8,3                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u"

	.comm	_PICOLCDFB_UPDATE_RATE_LIMIT,4,2 ## @PICOLCDFB_UPDATE_RATE_LIMIT
	.comm	_ERANGE,8,3                     ## @ERANGE
	.comm	_PICOLCDFB_UPDATE_RATE_DEFAULT,4,2 ## @PICOLCDFB_UPDATE_RATE_DEFAULT
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_picolcd_fb_update_rate_store
.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_store
_picolcd_fb_update_rate_store:          ; @picolcd_fb_update_rate_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x21, x2
	bl	_dev_get_drvdata
	sub	x8, x19, #11
	cmn	x8, #11
	b.ls	LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x22, [x8, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x21
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [sp, #12]
Lloh2:
	adrp	x9, _PICOLCDFB_UPDATE_RATE_LIMIT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PICOLCDFB_UPDATE_RATE_LIMIT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ls	LBB0_7
; %bb.3:
Lloh5:
	adrp	x8, _ERANGE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
Lloh9:
	adrp	x9, _PICOLCDFB_UPDATE_RATE_DEFAULT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PICOLCDFB_UPDATE_RATE_DEFAULT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w8, w9, w8, eq
Lloh12:
	adrp	x9, _HZ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
	str	w8, [x22]
Lloh14:
	ldr	w9, [x9]
	udiv	w8, w9, w8
	ldr	x9, [x20]
	ldr	x9, [x9]
	str	w8, [x9]
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,8,3                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u"

	.comm	_PICOLCDFB_UPDATE_RATE_LIMIT,4,2 ; @PICOLCDFB_UPDATE_RATE_LIMIT
	.comm	_ERANGE,8,3                     ; @ERANGE
	.comm	_PICOLCDFB_UPDATE_RATE_DEFAULT,4,2 ; @PICOLCDFB_UPDATE_RATE_DEFAULT
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_picolcd_fb_update_rate_store
.subsections_via_symbols
