	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spi_init                       ## -- Begin function spi_init
	.p2align	4, 0x90
_spi_init:                              ## @spi_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_PRINTD
	movq	_AR71XX_SPI_BASE@GOTPCREL(%rip), %rax
	movq	_SPI_REG_CTRL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	callq	_KSEG1ADDR
	movl	$67, %edi
	movl	%eax, %esi
	callq	___raw_writel
	leaq	L_.str.1(%rip), %rdi
	popq	%rbp
	jmp	_PRINTD                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ar71xx_spi: spi_init"

	.comm	_AR71XX_SPI_BASE,8,3            ## @AR71XX_SPI_BASE
	.comm	_SPI_REG_CTRL,8,3               ## @SPI_REG_CTRL
L_.str.1:                               ## @.str.1
	.asciz	" ---> out\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spi_init                       ; -- Begin function spi_init
	.p2align	2
_spi_init:                              ; @spi_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_PRINTD
Lloh2:
	adrp	x8, _AR71XX_SPI_BASE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AR71XX_SPI_BASE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _SPI_REG_CTRL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SPI_REG_CTRL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_KSEG1ADDR
	mov	x1, x0
	mov	w0, #67
	bl	___raw_writel
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_PRINTD
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ar71xx_spi: spi_init"

	.comm	_AR71XX_SPI_BASE,8,3            ; @AR71XX_SPI_BASE
	.comm	_SPI_REG_CTRL,8,3               ; @SPI_REG_CTRL
l_.str.1:                               ; @.str.1
	.asciz	" ---> out\n"

.subsections_via_symbols
