	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmae_set_reg
_dmae_set_reg:                          ## @dmae_set_reg
	.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
	movl	%edx, %r14d
	movq	%rdi, %r15
	movq	%rsi, %rbx
	shrq	$32, %rbx
	movq	_SAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_sh_dmae_writel
	movq	_DAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_sh_dmae_writel
	movq	%r15, %rdi
	callq	_calc_xmit_shift
	movl	%eax, %ecx
	sarl	%cl, %r14d
	movq	_TCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sh_dmae_writel                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SAR,4,2                        ## @SAR
	.comm	_DAR,4,2                        ## @DAR
	.comm	_TCR,4,2                        ## @TCR
	.no_dead_strip	_dmae_set_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmae_set_reg
_dmae_set_reg:                          ; @dmae_set_reg
	.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	x19, x2
	mov	x20, x0
	lsr	x21, x1, #32
Lloh0:
	adrp	x8, _SAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SAR@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_sh_dmae_writel
Lloh3:
	adrp	x8, _DAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DAR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_sh_dmae_writel
	mov	x0, x20
	bl	_calc_xmit_shift
	asr	w1, w19, w0
Lloh6:
	adrp	x8, _TCR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TCR@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	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	_sh_dmae_writel
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SAR,4,2                        ; @SAR
	.comm	_DAR,4,2                        ; @DAR
	.comm	_TCR,4,2                        ; @TCR
	.no_dead_strip	_dmae_set_reg
.subsections_via_symbols
