	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function dcn_bw_apply_registry_override
LCPI0_0:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dcn_bw_apply_registry_override:        ## @dcn_bw_apply_registry_override
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_kernel_fpu_begin
	movq	24(%rbx), %rax
	imull	$1000, (%rax), %edx             ## imm = 0x3E8
	movl	(%rbx), %ecx
	cmpl	%ecx, %edx
	je	LBB0_3
## %bb.1:
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.2:
	cvtsi2sd	%ecx, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %ecx
	movl	%ecx, (%rax)
	movl	$1, %r14d
LBB0_3:
	imull	$1000, 4(%rax), %edx            ## imm = 0x3E8
	movl	4(%rbx), %ecx
	cmpl	%ecx, %edx
	je	LBB0_6
## %bb.4:
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.5:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ecx, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %ecx
	movl	%ecx, 4(%rax)
	movl	$1, %r14d
LBB0_6:
	imull	$1000, 8(%rax), %edx            ## imm = 0x3E8
	movl	8(%rbx), %ecx
	cmpl	%ecx, %edx
	je	LBB0_9
## %bb.7:
	testl	%ecx, %ecx
	je	LBB0_9
## %bb.8:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ecx, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %ecx
	movl	%ecx, 8(%rax)
	movl	$1, %r14d
LBB0_9:
	imull	$1000, 12(%rax), %edx           ## imm = 0x3E8
	movl	12(%rbx), %ecx
	cmpl	%ecx, %edx
	je	LBB0_12
## %bb.10:
	testl	%ecx, %ecx
	je	LBB0_12
## %bb.11:
	movl	%ecx, 12(%rax)
	movl	$1, %r14d
LBB0_12:
	imull	$1000, 16(%rax), %edx           ## imm = 0x3E8
	movl	16(%rbx), %ecx
	cmpl	%ecx, %edx
	je	LBB0_15
## %bb.13:
	testl	%ecx, %ecx
	je	LBB0_15
## %bb.14:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ecx, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %ecx
	movl	%ecx, 16(%rax)
	movl	$1, %r14d
LBB0_15:
	xorl	%eax, %eax
	callq	_kernel_fpu_end
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dcn_bw_apply_registry_override
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcn_bw_apply_registry_override
_dcn_bw_apply_registry_override:        ; @dcn_bw_apply_registry_override
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_kernel_fpu_begin
	ldr	x8, [x19, #24]
	ldr	w10, [x8]
	mov	w9, #1000
	mul	w11, w10, w9
	ldr	w10, [x19]
	cmp	w11, w10
	ccmp	w10, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_3
LBB0_2:
	scvtf	d0, w10
	mov	x10, #70368744177664
	movk	x10, #16527, lsl #48
	fmov	d1, x10
	fdiv	d0, d0, d1
	fcvtzs	w10, d0
	str	w10, [x8]
	mov	w20, #1
LBB0_3:
	ldr	w10, [x8, #4]
	mul	w10, w10, w9
	ldr	w9, [x19, #4]
	cmp	w10, w9
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_5
; %bb.4:
	scvtf	d0, w9
	mov	x9, #70368744177664
	movk	x9, #16527, lsl #48
	fmov	d1, x9
	fdiv	d0, d0, d1
	fcvtzs	w9, d0
	str	w9, [x8, #4]
	mov	w20, #1
LBB0_5:
	ldr	w10, [x8, #8]
	mov	w9, #1000
	mul	w11, w10, w9
	ldr	w10, [x19, #8]
	cmp	w11, w10
	ccmp	w10, #0, #4, ne
	b.eq	LBB0_7
; %bb.6:
	scvtf	d0, w10
	mov	x10, #70368744177664
	movk	x10, #16527, lsl #48
	fmov	d1, x10
	fdiv	d0, d0, d1
	fcvtzs	w10, d0
	str	w10, [x8, #8]
	mov	w20, #1
LBB0_7:
	ldr	w10, [x8, #12]
	mul	w10, w10, w9
	ldr	w9, [x19, #12]
	cmp	w10, w9
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_9
; %bb.8:
	str	w9, [x8, #12]
	mov	w20, #1
LBB0_9:
	ldr	w9, [x8, #16]
	mov	w10, #1000
	mul	w10, w9, w10
	ldr	w9, [x19, #16]
	cmp	w10, w9
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_11
; %bb.10:
	scvtf	d0, w9
	mov	x9, #70368744177664
	movk	x9, #16527, lsl #48
	fmov	d1, x9
	fdiv	d0, d0, d1
	fcvtzs	w9, d0
	str	w9, [x8, #16]
	mov	w20, #1
LBB0_11:
	bl	_kernel_fpu_end
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dcn_bw_apply_registry_override
.subsections_via_symbols
