	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_du_crtc_get
_rcar_du_crtc_get:                      ## @rcar_du_crtc_get
	.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
	xorl	%r14d, %r14d
	cmpl	$0, (%rdi)
	je	LBB0_1
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movl	8(%rbx), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movl	12(%rbx), %edi
	callq	_rcar_du_group_get
	testl	%eax, %eax
	js	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_rcar_du_crtc_setup
	movl	$1, (%rbx)
	jmp	LBB0_9
LBB0_2:
	movl	%eax, %r14d
	jmp	LBB0_9
LBB0_4:
	movl	%eax, %r14d
	jmp	LBB0_8
LBB0_7:
	movl	%eax, %r15d
	movl	8(%rbx), %edi
	callq	_clk_disable_unprepare
	movl	%r15d, %r14d
LBB0_8:
	movl	4(%rbx), %edi
	callq	_clk_disable_unprepare
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rcar_du_crtc_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_du_crtc_get
_rcar_du_crtc_get:                      ; @rcar_du_crtc_get
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	mov	w20, #0
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_clk_prepare_enable
	tbnz	w0, #31, LBB0_7
; %bb.4:
	ldr	w0, [x19, #8]
	bl	_clk_prepare_enable
	tbnz	w0, #31, LBB0_8
; %bb.5:
	ldr	w0, [x19, #12]
	bl	_rcar_du_group_get
	tbnz	w0, #31, LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_rcar_du_crtc_setup
	mov	w20, #0
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_2
LBB0_7:
	mov	x20, x0
	b	LBB0_2
LBB0_8:
	mov	x20, x0
	b	LBB0_10
LBB0_9:
	mov	x20, x0
	ldr	w0, [x19, #8]
	bl	_clk_disable_unprepare
LBB0_10:
	ldr	w0, [x19, #4]
	bl	_clk_disable_unprepare
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rcar_du_crtc_get
.subsections_via_symbols
