	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_drif_get_ep_properties
_rcar_drif_get_ep_properties:           ## @rcar_drif_get_ep_properties
	.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
	movq	_RCAR_DRIF_SIRMDR1_SYNCMD_LR@GOTPCREL(%rip), %rax
	movq	_RCAR_DRIF_SIRMDR1_MSB_FIRST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%rsi, %rax
	movq	%rdi, %rbx
	movq	_RCAR_DRIF_SIRMDR1_DTDL_1@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_RCAR_DRIF_SIRMDR1_SYNCDL_0@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rdi)
	leaq	L_.str(%rip), %rsi
	leaq	-16(%rbp), %rdx
	movq	%rax, %rdi
	callq	_fwnode_property_read_u32
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	cmpq	$0, -16(%rbp)
	jne	LBB0_3
## %bb.2:
	movq	_RCAR_DRIF_SIRMDR1_SYNCAC_POL_LOW@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_RCAR_DRIF_SIRMDR1_SYNCAC_POL_HIGH@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edx
	orl	(%rbx), %edx
	movl	%edx, (%rbx)
	movl	4(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_dbg
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RCAR_DRIF_SIRMDR1_SYNCMD_LR,4,2 ## @RCAR_DRIF_SIRMDR1_SYNCMD_LR
	.comm	_RCAR_DRIF_SIRMDR1_MSB_FIRST,4,2 ## @RCAR_DRIF_SIRMDR1_MSB_FIRST
	.comm	_RCAR_DRIF_SIRMDR1_DTDL_1,4,2   ## @RCAR_DRIF_SIRMDR1_DTDL_1
	.comm	_RCAR_DRIF_SIRMDR1_SYNCDL_0,4,2 ## @RCAR_DRIF_SIRMDR1_SYNCDL_0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sync-active"

	.comm	_RCAR_DRIF_SIRMDR1_SYNCAC_POL_HIGH,4,2 ## @RCAR_DRIF_SIRMDR1_SYNCAC_POL_HIGH
	.comm	_RCAR_DRIF_SIRMDR1_SYNCAC_POL_LOW,4,2 ## @RCAR_DRIF_SIRMDR1_SYNCAC_POL_LOW
L_.str.1:                               ## @.str.1
	.asciz	"mdr1 0x%08x\n"

	.no_dead_strip	_rcar_drif_get_ep_properties
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_drif_get_ep_properties
_rcar_drif_get_ep_properties:           ; @rcar_drif_get_ep_properties
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x9, _RCAR_DRIF_SIRMDR1_SYNCMD_LR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RCAR_DRIF_SIRMDR1_SYNCMD_LR@GOTPAGEOFF]
Lloh2:
	adrp	x10, _RCAR_DRIF_SIRMDR1_MSB_FIRST@GOTPAGE
Lloh3:
	ldr	x10, [x10, _RCAR_DRIF_SIRMDR1_MSB_FIRST@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh6:
	adrp	x10, _RCAR_DRIF_SIRMDR1_DTDL_1@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RCAR_DRIF_SIRMDR1_DTDL_1@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh9:
	adrp	x10, _RCAR_DRIF_SIRMDR1_SYNCDL_0@GOTPAGE
Lloh10:
	ldr	x10, [x10, _RCAR_DRIF_SIRMDR1_SYNCDL_0@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x0]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x8
	bl	_fwnode_property_read_u32
Lloh14:
	adrp	x8, _RCAR_DRIF_SIRMDR1_SYNCAC_POL_HIGH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RCAR_DRIF_SIRMDR1_SYNCAC_POL_HIGH@GOTPAGEOFF]
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x9, [sp, #8]
Lloh16:
	adrp	x10, _RCAR_DRIF_SIRMDR1_SYNCAC_POL_LOW@GOTPAGE
Lloh17:
	ldr	x10, [x10, _RCAR_DRIF_SIRMDR1_SYNCAC_POL_LOW@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
LBB0_2:
	ldr	w8, [x8]
	ldp	w9, w0, [x19]
	orr	w2, w9, w8
	str	w2, [x19]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_RCAR_DRIF_SIRMDR1_SYNCMD_LR,4,2 ; @RCAR_DRIF_SIRMDR1_SYNCMD_LR
	.comm	_RCAR_DRIF_SIRMDR1_MSB_FIRST,4,2 ; @RCAR_DRIF_SIRMDR1_MSB_FIRST
	.comm	_RCAR_DRIF_SIRMDR1_DTDL_1,4,2   ; @RCAR_DRIF_SIRMDR1_DTDL_1
	.comm	_RCAR_DRIF_SIRMDR1_SYNCDL_0,4,2 ; @RCAR_DRIF_SIRMDR1_SYNCDL_0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sync-active"

	.comm	_RCAR_DRIF_SIRMDR1_SYNCAC_POL_HIGH,4,2 ; @RCAR_DRIF_SIRMDR1_SYNCAC_POL_HIGH
	.comm	_RCAR_DRIF_SIRMDR1_SYNCAC_POL_LOW,4,2 ; @RCAR_DRIF_SIRMDR1_SYNCAC_POL_LOW
l_.str.1:                               ; @.str.1
	.asciz	"mdr1 0x%08x\n"

	.no_dead_strip	_rcar_drif_get_ep_properties
.subsections_via_symbols
