	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssi_start
_ssi_start:                             ## @ssi_start
	.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	(%rdi), %rbx
	movl	(%rbx), %edi
	movl	8(%rbx), %esi
	callq	_sdma_configure
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_device_printf
	movl	$-1, %eax
	jmp	LBB0_3
LBB0_2:
	movq	_SIER_TDMAE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSI_SIER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_WRITE4
	movl	(%rbx), %edi
	callq	_sdma_start
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't configure sDMA\n"

	.comm	_SIER_TDMAE,4,2                 ## @SIER_TDMAE
	.comm	_SSI_SIER,4,2                   ## @SSI_SIER
	.no_dead_strip	_ssi_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssi_start
_ssi_start:                             ; @ssi_start
	.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	x19, [x0]
	ldr	w0, [x19]
	ldr	w1, [x19, #8]
	bl	_sdma_configure
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_device_printf
	mov	w0, #-1
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _SIER_TDMAE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIER_TDMAE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _SSI_SIER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SSI_SIER@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_WRITE4
	ldr	w0, [x19]
	bl	_sdma_start
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't configure sDMA\n"

	.comm	_SIER_TDMAE,4,2                 ; @SIER_TDMAE
	.comm	_SSI_SIER,4,2                   ; @SSI_SIER
	.no_dead_strip	_ssi_start
.subsections_via_symbols
