	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_timing_param_ps
_get_timing_param_ps:                   ## @get_timing_param_ps
	.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, %r15
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r12
	leaq	-44(%rbp), %rdx
	movq	%rsi, %rdi
	movq	%r14, %rsi
	callq	_of_property_read_u32
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	-44(%rbp), %ecx
	movl	(%r12), %esi
	leal	(%rcx,%rsi), %eax
	decl	%eax
	cltd
	idivl	%esi
	movl	%eax, (%r15)
	movl	4(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%eax, %r8d
	callq	_dev_dbg
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %ebx
	movl	4(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_dev_err
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%pOF has no '%s' property\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: %u ps -> 0x%x\n"

	.no_dead_strip	_get_timing_param_ps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_timing_param_ps
_get_timing_param_ps:                   ; @get_timing_param_ps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	add	x2, sp, #12
	mov	x0, x1
	mov	x1, x19
	bl	_of_property_read_u32
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w3, [sp, #12]
	ldr	w8, [x20]
	add	w9, w3, w8
	sub	w9, w9, #1
	sdiv	w4, w9, w8
	str	w4, [x21]
	ldr	w0, [x20, #4]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_dev_dbg
	mov	w23, #0
	b	LBB0_3
LBB0_2:
	mov	x23, x0
	ldr	w0, [x20, #4]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	mov	x3, x19
	bl	_dev_err
LBB0_3:
	mov	x0, x23
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%pOF has no '%s' property\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: %u ps -> 0x%x\n"

	.no_dead_strip	_get_timing_param_ps
.subsections_via_symbols
