	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_mipi_dsi_rockchip_config
_dw_mipi_dsi_rockchip_config:           ## @dw_mipi_dsi_rockchip_config
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %eax
	movq	%rdi, %rbx
	movq	(%rdi), %rcx
	movq	56(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	xorl	%edx, %edx
	testl	%eax, %eax
	setne	%dl
	movl	48(%rcx,%rdx,4), %edx
	callq	_regmap_write
	movq	(%rbx), %rcx
LBB0_2:
	movq	40(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movl	8(%rbx), %edi
	movl	32(%rcx), %edx
	callq	_regmap_write
	movq	(%rbx), %rcx
LBB0_4:
	movq	24(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	movl	8(%rbx), %edi
	movl	16(%rcx), %edx
	callq	_regmap_write
	movq	(%rbx), %rcx
LBB0_6:
	movq	8(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.8:
	movl	8(%rbx), %edi
	movl	(%rcx), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_regmap_write                   ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dw_mipi_dsi_rockchip_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_mipi_dsi_rockchip_config
_dw_mipi_dsi_rockchip_config:           ; @dw_mipi_dsi_rockchip_config
	.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	x8, x1
	mov	x19, x0
	ldr	x9, [x0]
	ldr	x1, [x9, #56]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
	cmp	w8, #0
	mov	w8, #52
	mov	w10, #48
	csel	x8, x10, x8, eq
	ldr	w2, [x9, x8]
	bl	_regmap_write
	ldr	x9, [x19]
LBB0_2:
	ldr	x1, [x9, #40]
	cbz	x1, LBB0_4
; %bb.3:
	ldr	w0, [x19, #8]
	ldr	w2, [x9, #32]
	bl	_regmap_write
	ldr	x9, [x19]
LBB0_4:
	ldr	x1, [x9, #24]
	cbz	x1, LBB0_6
; %bb.5:
	ldr	w0, [x19, #8]
	ldr	w2, [x9, #16]
	bl	_regmap_write
	ldr	x9, [x19]
LBB0_6:
	ldr	x1, [x9, #8]
	cbz	x1, LBB0_8
; %bb.7:
	ldr	w0, [x19, #8]
	ldr	w2, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_regmap_write
LBB0_8:
	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	_dw_mipi_dsi_rockchip_config
.subsections_via_symbols
