	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _omap_dsi_configure_irqs
__omap_dsi_configure_irqs:              ## @_omap_dsi_configure_irqs
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, %r15d
	movl	%ecx, %ebx
	movq	%rdi, %r12
	testl	%edx, %edx
	je	LBB0_12
## %bb.1:
	movl	%edx, %eax
	cmpl	$1, %edx
	jne	LBB0_3
## %bb.2:
	xorl	%ecx, %ecx
LBB0_9:
	testb	$1, %al
	je	LBB0_12
## %bb.10:
	shlq	$4, %rcx
	cmpq	$0, 8(%rsi,%rcx)
	je	LBB0_12
## %bb.11:
	orl	(%rsi,%rcx), %ebx
LBB0_12:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_dsi_read_reg
	notl	%eax
	andl	%ebx, %eax
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_dsi_write_reg
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_dsi_write_reg
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_dsi_read_reg
	movq	%r12, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dsi_read_reg                   ## TAILCALL
LBB0_3:
	movl	%eax, %edx
	andl	$-2, %edx
	leaq	24(%rsi), %rdi
	xorl	%ecx, %ecx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %rcx
	addq	$32, %rdi
	cmpq	%rcx, %rdx
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -16(%rdi)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	orl	-24(%rdi), %ebx
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, (%rdi)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	orl	-8(%rdi), %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__omap_dsi_configure_irqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _omap_dsi_configure_irqs
__omap_dsi_configure_irqs:              ; @_omap_dsi_configure_irqs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x5
	mov	x20, x3
	mov	x19, x0
	cbz	w2, LBB0_5
; %bb.1:
	mov	w8, w2
	add	x9, x1, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #16
	subs	x8, x8, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cbz	x10, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w10, [x9, #-8]
	orr	w20, w10, w20
	b	LBB0_2
LBB0_5:
	and	x22, x4, #0xffffffff
	mov	x0, x19
	mov	x1, x22
	bl	_dsi_read_reg
	bic	w2, w20, w0
	and	x21, x21, #0xffffffff
	mov	x0, x19
	mov	x1, x21
	bl	_dsi_write_reg
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_dsi_write_reg
	mov	x0, x19
	mov	x1, x22
	bl	_dsi_read_reg
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dsi_read_reg
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__omap_dsi_configure_irqs
.subsections_via_symbols
