	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1_init_flash_opcode
_atl1_init_flash_opcode:                ## @atl1_init_flash_opcode
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movq	_flash_table@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %r15
	jae	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	jmp	LBB0_3
LBB0_2:
	movq	$0, (%rbx)
	xorl	%eax, %eax
LBB0_3:
	movq	(%r14), %rcx
	shlq	$5, %rax
	movl	28(%rcx,%rax), %edi
	movq	_REG_SPI_FLASH_OP_PROGRAM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_iowrite8
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	shlq	$5, %rcx
	movl	24(%rax,%rcx), %edi
	movq	_REG_SPI_FLASH_OP_SC_ERASE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_iowrite8
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	shlq	$5, %rcx
	movl	20(%rax,%rcx), %edi
	movq	_REG_SPI_FLASH_OP_CHIP_ERASE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_iowrite8
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	shlq	$5, %rcx
	movl	16(%rax,%rcx), %edi
	movq	_REG_SPI_FLASH_OP_RDID@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_iowrite8
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	shlq	$5, %rcx
	movl	12(%rax,%rcx), %edi
	movq	_REG_SPI_FLASH_OP_WREN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_iowrite8
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	shlq	$5, %rcx
	movl	8(%rax,%rcx), %edi
	movq	_REG_SPI_FLASH_OP_RDSR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_iowrite8
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	shlq	$5, %rcx
	movl	4(%rax,%rcx), %edi
	movq	_REG_SPI_FLASH_OP_WRSR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_iowrite8
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	shlq	$5, %rcx
	movl	(%rax,%rcx), %edi
	movq	_REG_SPI_FLASH_OP_READ@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iowrite8                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_flash_table,8,3                ## @flash_table
	.comm	_REG_SPI_FLASH_OP_PROGRAM,8,3   ## @REG_SPI_FLASH_OP_PROGRAM
	.comm	_REG_SPI_FLASH_OP_SC_ERASE,8,3  ## @REG_SPI_FLASH_OP_SC_ERASE
	.comm	_REG_SPI_FLASH_OP_CHIP_ERASE,8,3 ## @REG_SPI_FLASH_OP_CHIP_ERASE
	.comm	_REG_SPI_FLASH_OP_RDID,8,3      ## @REG_SPI_FLASH_OP_RDID
	.comm	_REG_SPI_FLASH_OP_WREN,8,3      ## @REG_SPI_FLASH_OP_WREN
	.comm	_REG_SPI_FLASH_OP_RDSR,8,3      ## @REG_SPI_FLASH_OP_RDSR
	.comm	_REG_SPI_FLASH_OP_WRSR,8,3      ## @REG_SPI_FLASH_OP_WRSR
	.comm	_REG_SPI_FLASH_OP_READ,8,3      ## @REG_SPI_FLASH_OP_READ
	.no_dead_strip	_atl1_init_flash_opcode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1_init_flash_opcode
_atl1_init_flash_opcode:                ; @atl1_init_flash_opcode
	.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, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x20, _flash_table@GOTPAGE
Lloh1:
	ldr	x20, [x20, _flash_table@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	x21, x0
	b.hs	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	b	LBB0_3
LBB0_2:
	mov	x8, #0
	str	xzr, [x19]
LBB0_3:
	ldr	x9, [x20]
	add	x8, x9, x8, lsl #5
	ldr	w0, [x8, #28]
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _REG_SPI_FLASH_OP_PROGRAM@GOTPAGE
Lloh3:
	ldr	x9, [x9, _REG_SPI_FLASH_OP_PROGRAM@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_iowrite8
	ldr	x8, [x20]
	ldp	x9, x10, [x19]
	add	x8, x8, x9, lsl #5
	ldr	w0, [x8, #24]
Lloh5:
	adrp	x8, _REG_SPI_FLASH_OP_SC_ERASE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REG_SPI_FLASH_OP_SC_ERASE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x1, x8, x10
	bl	_iowrite8
	ldr	x8, [x20]
	ldp	x9, x10, [x19]
	add	x8, x8, x9, lsl #5
	ldr	w0, [x8, #20]
Lloh8:
	adrp	x8, _REG_SPI_FLASH_OP_CHIP_ERASE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REG_SPI_FLASH_OP_CHIP_ERASE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	add	x1, x8, x10
	bl	_iowrite8
	ldr	x8, [x20]
	ldp	x9, x10, [x19]
	add	x8, x8, x9, lsl #5
	ldr	w0, [x8, #16]
Lloh11:
	adrp	x8, _REG_SPI_FLASH_OP_RDID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REG_SPI_FLASH_OP_RDID@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	add	x1, x8, x10
	bl	_iowrite8
	ldr	x8, [x20]
	ldp	x9, x10, [x19]
	add	x8, x8, x9, lsl #5
	ldr	w0, [x8, #12]
Lloh14:
	adrp	x8, _REG_SPI_FLASH_OP_WREN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REG_SPI_FLASH_OP_WREN@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	add	x1, x8, x10
	bl	_iowrite8
	ldr	x8, [x20]
	ldp	x9, x10, [x19]
	add	x8, x8, x9, lsl #5
	ldr	w0, [x8, #8]
Lloh17:
	adrp	x8, _REG_SPI_FLASH_OP_RDSR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REG_SPI_FLASH_OP_RDSR@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	add	x1, x8, x10
	bl	_iowrite8
	ldr	x8, [x20]
	ldp	x9, x10, [x19]
	add	x8, x8, x9, lsl #5
	ldr	w0, [x8, #4]
Lloh20:
	adrp	x8, _REG_SPI_FLASH_OP_WRSR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _REG_SPI_FLASH_OP_WRSR@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	add	x1, x8, x10
	bl	_iowrite8
	ldr	x8, [x20]
	ldp	x9, x10, [x19]
	lsl	x9, x9, #5
	ldr	w0, [x8, x9]
Lloh23:
	adrp	x8, _REG_SPI_FLASH_OP_READ@GOTPAGE
Lloh24:
	ldr	x8, [x8, _REG_SPI_FLASH_OP_READ@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	add	x1, x8, x10
	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	_iowrite8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_flash_table,8,3                ; @flash_table
	.comm	_REG_SPI_FLASH_OP_PROGRAM,8,3   ; @REG_SPI_FLASH_OP_PROGRAM
	.comm	_REG_SPI_FLASH_OP_SC_ERASE,8,3  ; @REG_SPI_FLASH_OP_SC_ERASE
	.comm	_REG_SPI_FLASH_OP_CHIP_ERASE,8,3 ; @REG_SPI_FLASH_OP_CHIP_ERASE
	.comm	_REG_SPI_FLASH_OP_RDID,8,3      ; @REG_SPI_FLASH_OP_RDID
	.comm	_REG_SPI_FLASH_OP_WREN,8,3      ; @REG_SPI_FLASH_OP_WREN
	.comm	_REG_SPI_FLASH_OP_RDSR,8,3      ; @REG_SPI_FLASH_OP_RDSR
	.comm	_REG_SPI_FLASH_OP_WRSR,8,3      ; @REG_SPI_FLASH_OP_WRSR
	.comm	_REG_SPI_FLASH_OP_READ,8,3      ; @REG_SPI_FLASH_OP_READ
	.no_dead_strip	_atl1_init_flash_opcode
.subsections_via_symbols
