	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcn10_set_cursor_sdr_white_level
_dcn10_set_cursor_sdr_white_level:      ## @dcn10_set_cursor_sdr_white_level
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %eax
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	$0, -32(%rbp)
	movl	$15360, -12(%rbp)               ## imm = 0x3C00
	movq	(%rdi), %rdi
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.1:
	movabsq	$42949672965, %rdx              ## imm = 0xA00000005
	movq	%rdx, -24(%rbp)
	movl	$1, -16(%rbp)
	movl	$15360, %edx                    ## imm = 0x3C00
	cmpl	$81, %eax
	jl	LBB0_3
## %bb.2:
	movl	%eax, %edi
	movl	$80, %esi
	callq	_dc_fixpt_from_fraction
	leaq	-24(%rbp), %rsi
	leaq	-12(%rbp), %rdx
	movl	%eax, %edi
	callq	_convert_to_custom_float_format
	movl	-12(%rbp), %edx
	movq	(%rbx), %rdi
	movq	(%rdi), %rax
	movq	(%rax), %rcx
LBB0_3:
	movl	%edx, -48(%rbp)
	movq	$0, -40(%rbp)
	leaq	-48(%rbp), %rsi
	callq	*%rcx
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dcn10_set_cursor_sdr_white_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function dcn10_set_cursor_sdr_white_level
lCPI0_0:
	.long	5                               ; 0x5
	.long	10                              ; 0xa
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dcn10_set_cursor_sdr_white_level:      ; @dcn10_set_cursor_sdr_white_level
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	ldp	x0, x8, [x0]
	ldr	w8, [x8]
	stp	xzr, xzr, [sp, #24]
	str	xzr, [sp, #40]
	mov	w9, #15360
	str	w9, [sp, #20]
	ldr	x9, [x0]
	ldr	x9, [x9]
	cbz	x9, LBB0_5
; %bb.1:
Lloh0:
	adrp	x10, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x10, lCPI0_0@PAGEOFF]
	str	d0, [sp, #8]
	mov	w10, #1
	str	w10, [sp, #16]
	cmp	w8, #81
	b.lt	LBB0_3
; %bb.2:
	mov	x0, x8
	mov	w1, #80
	bl	_dc_fixpt_from_fraction
	mov	w0, w0
	add	x1, sp, #8
	add	x2, sp, #20
	bl	_convert_to_custom_float_format
	ldr	w8, [sp, #20]
	ldr	x0, [x19]
	ldr	x9, [x0]
	ldr	x9, [x9]
	b	LBB0_4
LBB0_3:
	mov	w8, #15360
LBB0_4:
	str	w8, [sp, #24]
	str	xzr, [sp, #32]
	add	x1, sp, #24
	blr	x9
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dcn10_set_cursor_sdr_white_level
.subsections_via_symbols
