	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn20_validate_bandwidth       ## -- Begin function dcn20_validate_bandwidth
	.p2align	4, 0x90
_dcn20_validate_bandwidth:              ## @dcn20_validate_bandwidth
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	testl	%edx, %edx
	je	LBB0_1
## %bb.10:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dcn20_validate_bandwidth_internal ## TAILCALL
LBB0_1:
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_dcn20_validate_bandwidth_internal
	movl	%eax, %r15d
	movsd	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_2
	jnp	LBB0_4
LBB0_2:
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.3:
	cmpl	$0, 16(%rbx)
	je	LBB0_5
LBB0_4:
	movl	$1, 16(%rbx)
LBB0_9:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rbx)
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movsd	%xmm0, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_dcn20_validate_bandwidth_internal
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	cmpl	$0, 16(%rbx)
	je	LBB0_8
## %bb.7:
	movl	$0, 16(%rbx)
	jmp	LBB0_9
LBB0_8:
	xorl	%edi, %edi
	callq	_ASSERT
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn20_validate_bandwidth       ; -- Begin function dcn20_validate_bandwidth
	.p2align	2
_dcn20_validate_bandwidth:              ; @dcn20_validate_bandwidth
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	mov	x19, x1
	mov	x20, x0
	cbz	w2, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	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
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_dcn20_validate_bandwidth_internal
LBB0_2:
	ldr	d8, [x19]
	mov	x0, x20
	mov	x1, x19
	bl	_dcn20_validate_bandwidth_internal
	mov	x21, x0
	ldr	d0, [x19, #8]
	fcmp	d0, #0.0
	b.eq	LBB0_5
; %bb.3:
	cbz	w21, LBB0_7
; %bb.4:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_7
LBB0_5:
	mov	w8, #1
	str	w8, [x19, #16]
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
	str	d8, [x19]
	mov	x0, x21
	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
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
LBB0_7:
	str	d0, [x19]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_dcn20_validate_bandwidth_internal
	mov	x21, x0
	cbz	w0, LBB0_10
; %bb.8:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_10
; %bb.9:
	str	wzr, [x19, #16]
	b	LBB0_6
LBB0_10:
	mov	w0, #0
	bl	_ASSERT
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
