	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_du_group_setup
_rcar_du_group_setup:                   ## @rcar_du_group_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	_DEFR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DEFR_CODE@GOTPCREL(%rip), %rax
	movq	_DEFR_DEFE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_rcar_du_group_write
	movq	(%r14), %rax
	cmpl	$2, (%rax)
	jg	LBB0_2
## %bb.1:
	movq	_DEFR2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DEFR2_CODE@GOTPCREL(%rip), %rax
	movq	_DEFR2_DEFE2G@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rcar_du_group_write
	movq	_DEFR3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DEFR3_CODE@GOTPCREL(%rip), %rax
	movq	_DEFR3_DEFE3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rcar_du_group_write
	movq	_DEFR4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DEFR4_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rcar_du_group_write
LBB0_2:
	movq	_DEFR5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DEFR5_CODE@GOTPCREL(%rip), %rax
	movq	_DEFR5_DEFE5@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rcar_du_group_write
	movq	%rbx, %rdi
	callq	_rcar_du_group_setup_pins
	movq	(%r14), %rax
	cmpl	$2, (%rax)
	jl	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_rcar_du_group_setup_defr8
	movq	%rbx, %rdi
	callq	_rcar_du_group_setup_didsr
	movq	(%r14), %rax
	cmpl	$3, (%rax)
	jl	LBB0_5
## %bb.4:
	movq	_DEFR10@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DEFR10_CODE@GOTPCREL(%rip), %rax
	movq	_DEFR10_DEFE10@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rcar_du_group_write
LBB0_5:
	movq	_DORCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DORCR_PG1D_DS1@GOTPCREL(%rip), %rax
	movq	_DORCR_DPRS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rcar_du_group_write
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_DPTSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %eax
	movl	%eax, %edx
	shll	$16, %edx
	orl	%eax, %edx
	movq	%rbx, %rdi
	callq	_rcar_du_group_write
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DEFR,4,2                       ## @DEFR
	.comm	_DEFR_CODE,4,2                  ## @DEFR_CODE
	.comm	_DEFR_DEFE,4,2                  ## @DEFR_DEFE
	.comm	_DEFR2,4,2                      ## @DEFR2
	.comm	_DEFR2_CODE,4,2                 ## @DEFR2_CODE
	.comm	_DEFR2_DEFE2G,4,2               ## @DEFR2_DEFE2G
	.comm	_DEFR3,4,2                      ## @DEFR3
	.comm	_DEFR3_CODE,4,2                 ## @DEFR3_CODE
	.comm	_DEFR3_DEFE3,4,2                ## @DEFR3_DEFE3
	.comm	_DEFR4,4,2                      ## @DEFR4
	.comm	_DEFR4_CODE,4,2                 ## @DEFR4_CODE
	.comm	_DEFR5,4,2                      ## @DEFR5
	.comm	_DEFR5_CODE,4,2                 ## @DEFR5_CODE
	.comm	_DEFR5_DEFE5,4,2                ## @DEFR5_DEFE5
	.comm	_DEFR10,4,2                     ## @DEFR10
	.comm	_DEFR10_CODE,4,2                ## @DEFR10_CODE
	.comm	_DEFR10_DEFE10,4,2              ## @DEFR10_DEFE10
	.comm	_DORCR,4,2                      ## @DORCR
	.comm	_DORCR_PG1D_DS1,4,2             ## @DORCR_PG1D_DS1
	.comm	_DORCR_DPRS,4,2                 ## @DORCR_DPRS
	.comm	_DPTSR,4,2                      ## @DPTSR
	.no_dead_strip	_rcar_du_group_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_du_group_setup
_rcar_du_group_setup:                   ; @rcar_du_group_setup
	.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	x19, x0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x8, _DEFR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEFR@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DEFR_CODE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DEFR_CODE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _DEFR_DEFE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DEFR_DEFE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_rcar_du_group_write
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, #2
	b.gt	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _DEFR2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DEFR2@GOTPAGEOFF]
Lloh11:
	adrp	x9, _DEFR2_CODE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DEFR2_CODE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	ldr	w8, [x9]
Lloh15:
	adrp	x9, _DEFR2_DEFE2G@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DEFR2_DEFE2G@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_rcar_du_group_write
Lloh18:
	adrp	x8, _DEFR3@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DEFR3@GOTPAGEOFF]
Lloh20:
	adrp	x9, _DEFR3_CODE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _DEFR3_CODE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	ldr	w8, [x9]
Lloh24:
	adrp	x9, _DEFR3_DEFE3@GOTPAGE
Lloh25:
	ldr	x9, [x9, _DEFR3_DEFE3@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_rcar_du_group_write
Lloh27:
	adrp	x8, _DEFR4@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DEFR4@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _DEFR4_CODE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DEFR4_CODE@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rcar_du_group_write
LBB0_2:
Lloh33:
	adrp	x8, _DEFR5@GOTPAGE
Lloh34:
	ldr	x8, [x8, _DEFR5@GOTPAGEOFF]
Lloh35:
	adrp	x9, _DEFR5_CODE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _DEFR5_CODE@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	ldr	w8, [x9]
Lloh39:
	adrp	x9, _DEFR5_DEFE5@GOTPAGE
Lloh40:
	ldr	x9, [x9, _DEFR5_DEFE5@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_rcar_du_group_write
	mov	x0, x19
	bl	_rcar_du_group_setup_pins
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_rcar_du_group_setup_defr8
	mov	x0, x19
	bl	_rcar_du_group_setup_didsr
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, #3
	b.lt	LBB0_5
; %bb.4:
Lloh42:
	adrp	x8, _DEFR10@GOTPAGE
Lloh43:
	ldr	x8, [x8, _DEFR10@GOTPAGEOFF]
Lloh44:
	adrp	x9, _DEFR10_CODE@GOTPAGE
Lloh45:
	ldr	x9, [x9, _DEFR10_CODE@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
Lloh47:
	ldr	w8, [x9]
Lloh48:
	adrp	x9, _DEFR10_DEFE10@GOTPAGE
Lloh49:
	ldr	x9, [x9, _DEFR10_DEFE10@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_rcar_du_group_write
LBB0_5:
Lloh51:
	adrp	x8, _DORCR@GOTPAGE
Lloh52:
	ldr	x8, [x8, _DORCR@GOTPAGEOFF]
Lloh53:
	adrp	x9, _DORCR_PG1D_DS1@GOTPAGE
Lloh54:
	ldr	x9, [x9, _DORCR_PG1D_DS1@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
Lloh56:
	ldr	w8, [x9]
Lloh57:
	adrp	x9, _DORCR_DPRS@GOTPAGE
Lloh58:
	ldr	x9, [x9, _DORCR_DPRS@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_rcar_du_group_write
	add	x20, x19, #4
	mov	x0, x20
	bl	_mutex_lock
Lloh60:
	adrp	x8, _DPTSR@GOTPAGE
Lloh61:
	ldr	x8, [x8, _DPTSR@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	ldr	w8, [x19]
	orr	w2, w8, w8, lsl #16
	mov	x0, x19
	bl	_rcar_du_group_write
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh37
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh46
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_DEFR,4,2                       ; @DEFR
	.comm	_DEFR_CODE,4,2                  ; @DEFR_CODE
	.comm	_DEFR_DEFE,4,2                  ; @DEFR_DEFE
	.comm	_DEFR2,4,2                      ; @DEFR2
	.comm	_DEFR2_CODE,4,2                 ; @DEFR2_CODE
	.comm	_DEFR2_DEFE2G,4,2               ; @DEFR2_DEFE2G
	.comm	_DEFR3,4,2                      ; @DEFR3
	.comm	_DEFR3_CODE,4,2                 ; @DEFR3_CODE
	.comm	_DEFR3_DEFE3,4,2                ; @DEFR3_DEFE3
	.comm	_DEFR4,4,2                      ; @DEFR4
	.comm	_DEFR4_CODE,4,2                 ; @DEFR4_CODE
	.comm	_DEFR5,4,2                      ; @DEFR5
	.comm	_DEFR5_CODE,4,2                 ; @DEFR5_CODE
	.comm	_DEFR5_DEFE5,4,2                ; @DEFR5_DEFE5
	.comm	_DEFR10,4,2                     ; @DEFR10
	.comm	_DEFR10_CODE,4,2                ; @DEFR10_CODE
	.comm	_DEFR10_DEFE10,4,2              ; @DEFR10_DEFE10
	.comm	_DORCR,4,2                      ; @DORCR
	.comm	_DORCR_PG1D_DS1,4,2             ; @DORCR_PG1D_DS1
	.comm	_DORCR_DPRS,4,2                 ; @DORCR_DPRS
	.comm	_DPTSR,4,2                      ; @DPTSR
	.no_dead_strip	_rcar_du_group_setup
.subsections_via_symbols
