	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function SR_EXP_Init
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	3                               ## 0x3
LCPI0_1:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_SR_EXP_Init
	.p2align	4, 0x90
_SR_EXP_Init:                           ## @SR_EXP_Init
	.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	_DC_SPI_INIT_BEGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBGC
	movq	_CHAN_SERCOM_SPI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FREQ_SPI_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CLK_set_spi_freq
	movq	_SR_EXP_RCLK_PIN@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edx
	movl	$1, %esi
	shll	%cl, %esi
	movq	_PORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_SR_EXP_RCLK_PORT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	%esi, 16(%rax,%rcx,8)
	movq	_SR_EXP_OE_N_PIN@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movq	_SR_EXP_OE_N_PORT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	%edx, 16(%rax,%rcx,8)
	movq	_SR_EXP_DATAOUT_MUX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_SR_EXP_DATAOUT_PORT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	8(%rax,%rdx,8), %rsi
	movq	_SR_EXP_DATAOUT_PIN@GOTPCREL(%rip), %r8
	movl	(%r8), %edi
	movl	%edi, %ebx
	shrl	$31, %ebx
	addl	%edi, %ebx
	sarl	%ebx
	movslq	%ebx, %rdi
	movl	%ecx, 4(%rsi,%rdi,8)
	movq	_SR_EXP_SCLK_MUX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_SR_EXP_SCLK_PORT@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	movq	8(%rax,%rsi,8), %rdi
	movq	_SR_EXP_SCLK_PIN@GOTPCREL(%rip), %r9
	movl	(%r9), %ecx
	movl	%ecx, %ebx
	shrl	$31, %ebx
	addl	%ecx, %ebx
	sarl	%ebx
	movslq	%ebx, %rcx
	movl	%r10d, (%rdi,%rcx,8)
	movq	(%rax,%rdx,8), %rcx
	movslq	(%r8), %rdx
	movl	$1, (%rcx,%rdx,4)
	movq	(%rax,%rsi,8), %rax
	movslq	(%r9), %rcx
	movl	$1, (%rax,%rcx,4)
	movq	_SR_EXP_SERCOM@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,3]
	movups	%xmm0, 8(%rax)
	movq	$0, 32(%rax)
	movabsq	$4294967299, %rcx               ## imm = 0x100000003
	movq	%rcx, 24(%rax)
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_DC_SPI_SYNC_ENABLING@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_DBGC
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	jne	LBB0_2
LBB0_3:
	xorps	%xmm0, %xmm0
	movq	_sr_exp_data@GOTPCREL(%rip), %rax
	movups	%xmm0, 64(%rax)
	movups	%xmm0, 48(%rax)
	movups	%xmm0, 32(%rax)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movups	%xmm0, (%rax)
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, 16(%rax)
	movq	$0, 24(%rax)
	xorl	%eax, %eax
	callq	_SR_EXP_WriteData
	movq	_DC_SPI_INIT_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DBGC                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_SPI_INIT_BEGIN,4,2          ## @DC_SPI_INIT_BEGIN
	.comm	_CHAN_SERCOM_SPI,4,2            ## @CHAN_SERCOM_SPI
	.comm	_FREQ_SPI_DEFAULT,4,2           ## @FREQ_SPI_DEFAULT
	.comm	_SR_EXP_RCLK_PIN,4,2            ## @SR_EXP_RCLK_PIN
	.comm	_PORT,8,3                       ## @PORT
	.comm	_SR_EXP_RCLK_PORT,8,3           ## @SR_EXP_RCLK_PORT
	.comm	_SR_EXP_OE_N_PIN,4,2            ## @SR_EXP_OE_N_PIN
	.comm	_SR_EXP_OE_N_PORT,8,3           ## @SR_EXP_OE_N_PORT
	.comm	_SR_EXP_DATAOUT_MUX,4,2         ## @SR_EXP_DATAOUT_MUX
	.comm	_SR_EXP_DATAOUT_PORT,8,3        ## @SR_EXP_DATAOUT_PORT
	.comm	_SR_EXP_DATAOUT_PIN,4,2         ## @SR_EXP_DATAOUT_PIN
	.comm	_SR_EXP_SCLK_MUX,4,2            ## @SR_EXP_SCLK_MUX
	.comm	_SR_EXP_SCLK_PORT,8,3           ## @SR_EXP_SCLK_PORT
	.comm	_SR_EXP_SCLK_PIN,4,2            ## @SR_EXP_SCLK_PIN
	.comm	_SR_EXP_OE_N_DIS,4,2            ## @SR_EXP_OE_N_DIS
	.comm	_SR_EXP_RCLK_HI,4,2             ## @SR_EXP_RCLK_HI
	.comm	_SR_EXP_SERCOM,8,3              ## @SR_EXP_SERCOM
	.comm	_DC_SPI_SYNC_ENABLING,4,2       ## @DC_SPI_SYNC_ENABLING
	.comm	_sr_exp_data,80,3               ## @sr_exp_data
	.comm	_SR_EXP_OE_N_ENA,4,2            ## @SR_EXP_OE_N_ENA
	.comm	_DC_SPI_INIT_COMPLETE,4,2       ## @DC_SPI_INIT_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function SR_EXP_Init
lCPI0_0:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	3                               ; 0x3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_1:
	.long	3                               ; 0x3
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_SR_EXP_Init
	.p2align	2
_SR_EXP_Init:                           ; @SR_EXP_Init
	.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
Lloh0:
	adrp	x8, _DC_SPI_INIT_BEGIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DC_SPI_INIT_BEGIN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_DBGC
Lloh3:
	adrp	x8, _CHAN_SERCOM_SPI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHAN_SERCOM_SPI@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _FREQ_SPI_DEFAULT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FREQ_SPI_DEFAULT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_CLK_set_spi_freq
Lloh9:
	adrp	x8, _SR_EXP_RCLK_PIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SR_EXP_RCLK_PIN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh12:
	adrp	x10, _PORT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PORT@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	ldr	x10, [x10]
Lloh15:
	adrp	x11, _SR_EXP_RCLK_PORT@GOTPAGE
Lloh16:
	ldr	x11, [x11, _SR_EXP_RCLK_PORT@GOTPAGEOFF]
Lloh17:
	ldr	x11, [x11]
	mov	w12, #24
	madd	x11, x11, x12, x10
	str	w8, [x11, #16]
Lloh18:
	adrp	x8, _SR_EXP_OE_N_PIN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SR_EXP_OE_N_PIN@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	lsl	w8, w9, w8
Lloh21:
	adrp	x11, _SR_EXP_OE_N_PORT@GOTPAGE
Lloh22:
	ldr	x11, [x11, _SR_EXP_OE_N_PORT@GOTPAGEOFF]
Lloh23:
	ldr	x11, [x11]
	madd	x11, x11, x12, x10
	str	w8, [x11, #16]
Lloh24:
	adrp	x8, _SR_EXP_DATAOUT_MUX@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SR_EXP_DATAOUT_MUX@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x11, _SR_EXP_DATAOUT_PORT@GOTPAGE
Lloh28:
	ldr	x11, [x11, _SR_EXP_DATAOUT_PORT@GOTPAGEOFF]
Lloh29:
	ldr	x11, [x11]
	madd	x11, x11, x12, x10
Lloh30:
	adrp	x13, _SR_EXP_DATAOUT_PIN@GOTPAGE
Lloh31:
	ldr	x13, [x13, _SR_EXP_DATAOUT_PIN@GOTPAGEOFF]
	ldr	w14, [x13]
	cmp	w14, #0
	cinc	w14, w14, lt
	asr	w14, w14, #1
	ldp	x11, x15, [x11]
	add	x14, x15, w14, sxtw #3
	str	w8, [x14, #4]
Lloh32:
	adrp	x8, _SR_EXP_SCLK_MUX@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SR_EXP_SCLK_MUX@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x14, _SR_EXP_SCLK_PORT@GOTPAGE
Lloh36:
	ldr	x14, [x14, _SR_EXP_SCLK_PORT@GOTPAGEOFF]
Lloh37:
	ldr	x14, [x14]
	madd	x10, x14, x12, x10
Lloh38:
	adrp	x12, _SR_EXP_SCLK_PIN@GOTPAGE
Lloh39:
	ldr	x12, [x12, _SR_EXP_SCLK_PIN@GOTPAGEOFF]
	ldr	w14, [x12]
	cmp	w14, #0
	cinc	w14, w14, lt
	asr	w14, w14, #1
	sbfiz	x14, x14, #3, #32
	ldp	x10, x15, [x10]
	str	w8, [x15, x14]
	ldrsw	x8, [x13]
	str	w9, [x11, x8, lsl #2]
	ldrsw	x8, [x12]
	str	w9, [x10, x8, lsl #2]
Lloh40:
	adrp	x19, _SR_EXP_SERCOM@GOTPAGE
Lloh41:
	ldr	x19, [x19, _SR_EXP_SERCOM@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh42:
	adrp	x9, lCPI0_0@PAGE
Lloh43:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	stur	q0, [x8, #8]
	str	xzr, [x8, #32]
Lloh44:
	adrp	x9, lCPI0_1@PAGE
Lloh45:
	ldr	d0, [x9, lCPI0_1@PAGEOFF]
	str	d0, [x8, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh46:
	adrp	x20, _DC_SPI_SYNC_ENABLING@GOTPAGE
Lloh47:
	ldr	x20, [x20, _DC_SPI_SYNC_ENABLING@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_DBGC
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbnz	x8, LBB0_2
LBB0_3:
Lloh48:
	adrp	x8, _sr_exp_data@GOTPAGE
Lloh49:
	ldr	x8, [x8, _sr_exp_data@GOTPAGEOFF]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8, #48]
	stp	xzr, xzr, [x8, #32]
	movi.4s	v0, #1
	str	q0, [x8]
	movi.2s	v0, #1
	str	d0, [x8, #16]
	str	xzr, [x8, #24]
	bl	_SR_EXP_WriteData
Lloh50:
	adrp	x8, _DC_SPI_INIT_COMPLETE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _DC_SPI_INIT_COMPLETE@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DBGC
	.loh AdrpLdr	Lloh44, Lloh45
	.loh AdrpAdrp	Lloh42, Lloh44
	.loh AdrpLdr	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_SPI_INIT_BEGIN,4,2          ; @DC_SPI_INIT_BEGIN
	.comm	_CHAN_SERCOM_SPI,4,2            ; @CHAN_SERCOM_SPI
	.comm	_FREQ_SPI_DEFAULT,4,2           ; @FREQ_SPI_DEFAULT
	.comm	_SR_EXP_RCLK_PIN,4,2            ; @SR_EXP_RCLK_PIN
	.comm	_PORT,8,3                       ; @PORT
	.comm	_SR_EXP_RCLK_PORT,8,3           ; @SR_EXP_RCLK_PORT
	.comm	_SR_EXP_OE_N_PIN,4,2            ; @SR_EXP_OE_N_PIN
	.comm	_SR_EXP_OE_N_PORT,8,3           ; @SR_EXP_OE_N_PORT
	.comm	_SR_EXP_DATAOUT_MUX,4,2         ; @SR_EXP_DATAOUT_MUX
	.comm	_SR_EXP_DATAOUT_PORT,8,3        ; @SR_EXP_DATAOUT_PORT
	.comm	_SR_EXP_DATAOUT_PIN,4,2         ; @SR_EXP_DATAOUT_PIN
	.comm	_SR_EXP_SCLK_MUX,4,2            ; @SR_EXP_SCLK_MUX
	.comm	_SR_EXP_SCLK_PORT,8,3           ; @SR_EXP_SCLK_PORT
	.comm	_SR_EXP_SCLK_PIN,4,2            ; @SR_EXP_SCLK_PIN
	.comm	_SR_EXP_OE_N_DIS,4,2            ; @SR_EXP_OE_N_DIS
	.comm	_SR_EXP_RCLK_HI,4,2             ; @SR_EXP_RCLK_HI
	.comm	_SR_EXP_SERCOM,8,3              ; @SR_EXP_SERCOM
	.comm	_DC_SPI_SYNC_ENABLING,4,2       ; @DC_SPI_SYNC_ENABLING
	.comm	_sr_exp_data,80,3               ; @sr_exp_data
	.comm	_SR_EXP_OE_N_ENA,4,2            ; @SR_EXP_OE_N_ENA
	.comm	_DC_SPI_INIT_COMPLETE,4,2       ; @DC_SPI_INIT_COMPLETE
.subsections_via_symbols
