	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsi_config_tx_fifo
_dsi_config_tx_fifo:                    ## @dsi_config_tx_fifo
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movl	%esi, (%rax)
	movl	%edx, 4(%rax)
	movl	%ecx, 8(%rax)
	movl	%r8d, 12(%rax)
	cmpl	$5, %esi
	jge	LBB0_5
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r15
	xorl	%edi, %edi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_FLD_VAL
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	$7, %esi
	movl	$4, %edx
	callq	_FLD_VAL
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	(%r15), %rax
	movl	4(%rax), %r12d
	leal	(%r12,%rbx), %r14d
	cmpl	$4, %r14d
	jg	LBB0_5
## %bb.2:
	movl	%ebx, %edi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_FLD_VAL
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	movl	$7, %esi
	movl	$4, %edx
	callq	_FLD_VAL
	movl	%eax, %r12d
	movq	(%r15), %rax
	movl	8(%rax), %ebx
	leal	(%rbx,%r14), %r13d
	cmpl	$4, %r13d
	jg	LBB0_5
## %bb.3:
	movl	%r14d, %edi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_FLD_VAL
	movl	%eax, %r14d
	movl	%ebx, %edi
	movl	$7, %esi
	movl	$4, %edx
	callq	_FLD_VAL
	movq	(%r15), %rcx
	movl	12(%rcx), %edx
	leal	(%rdx,%r13), %ecx
	cmpl	$4, %ecx
	jle	LBB0_4
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_DSSERR
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BUG                            ## TAILCALL
LBB0_4:
	orl	%r14d, %eax
	shll	$16, %eax
	orl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	shll	$8, %r12d
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	orl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	orl	%r12d, %r14d
	orl	%eax, %r14d
	movq	%rdx, %r12
	movl	%r13d, %edi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_FLD_VAL
	movl	%eax, %ebx
	movl	%r12d, %edi
	movl	$7, %esi
	movl	$4, %edx
	callq	_FLD_VAL
	orl	%eax, %ebx
	shll	$24, %ebx
	orl	%r14d, %ebx
	movq	_DSI_TX_FIFO_VC_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dsi_write_reg                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Illegal FIFO configuration\n"

	.comm	_DSI_TX_FIFO_VC_SIZE,4,2        ## @DSI_TX_FIFO_VC_SIZE
	.no_dead_strip	_dsi_config_tx_fifo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsi_config_tx_fifo
_dsi_config_tx_fifo:                    ; @dsi_config_tx_fifo
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x0]
	stp	w1, w2, [x8]
	stp	w3, w4, [x8, #8]
	cmp	w1, #5
	b.ge	LBB0_4
; %bb.1:
	mov	x22, x1
	mov	x19, x0
	mov	w0, #0
	mov	w1, #2
	mov	w2, #0
	bl	_FLD_VAL
	mov	x20, x0
	mov	x0, x22
	mov	w1, #7
	mov	w2, #4
	bl	_FLD_VAL
	ldr	x8, [x19]
	ldr	w23, [x8, #4]
	add	w25, w23, w22
	cmp	w25, #4
	b.gt	LBB0_4
; %bb.2:
	mov	x21, x0
	mov	x0, x22
	mov	w1, #2
	mov	w2, #0
	bl	_FLD_VAL
	mov	x22, x0
	mov	x0, x23
	mov	w1, #7
	mov	w2, #4
	bl	_FLD_VAL
	ldr	x8, [x19]
	ldr	w26, [x8, #8]
	add	w23, w26, w25
	cmp	w23, #4
	b.gt	LBB0_4
; %bb.3:
	mov	x24, x0
	mov	x0, x25
	mov	w1, #2
	mov	w2, #0
	bl	_FLD_VAL
	mov	x27, x0
	mov	x0, x26
	mov	w1, #7
	mov	w2, #4
	bl	_FLD_VAL
	ldr	x8, [x19]
	ldr	w25, [x8, #12]
	add	w8, w25, w23
	cmp	w8, #4
	b.le	LBB0_5
LBB0_4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DSSERR
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_BUG
LBB0_5:
	orr	w8, w0, w27
	orr	w9, w24, w22
	orr	w10, w21, w20
	orr	w9, w10, w9, lsl #8
	orr	w21, w9, w8, lsl #16
	mov	x0, x23
	mov	w1, #2
	mov	w2, #0
	bl	_FLD_VAL
	mov	x20, x0
	mov	x0, x25
	mov	w1, #7
	mov	w2, #4
	bl	_FLD_VAL
	orr	w8, w0, w20
	orr	w2, w21, w8, lsl #24
Lloh2:
	adrp	x8, _DSI_TX_FIFO_VC_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DSI_TX_FIFO_VC_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_dsi_write_reg
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Illegal FIFO configuration\n"

	.comm	_DSI_TX_FIFO_VC_SIZE,4,2        ; @DSI_TX_FIFO_VC_SIZE
	.no_dead_strip	_dsi_config_tx_fifo
.subsections_via_symbols
