	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sst25l_status
_sst25l_status:                         ## @sst25l_status
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_spi_message_init
	leaq	-72(%rbp), %r13
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_SST25L_CMD_RDSR@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, -42(%rbp)
	movb	$-1, -41(%rbp)
	leaq	-42(%rbp), %rax
	movq	%rax, -72(%rbp)
	movq	%rax, -64(%rbp)
	movl	$2, -56(%rbp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_spi_message_add_tail
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_spi_sync
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movzbl	-41(%rbp), %eax
	movl	%eax, (%r14)
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SST25L_CMD_RDSR,1,0            ## @SST25L_CMD_RDSR
	.no_dead_strip	_sst25l_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sst25l_status
_sst25l_status:                         ; @sst25l_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	sub	x0, x29, #24
	bl	_spi_message_init
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _SST25L_CMD_RDSR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SST25L_CMD_RDSR@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [sp, #14]
	mov	w8, #255
	strb	w8, [sp, #15]
	add	x8, sp, #14
	stp	x8, x8, [sp, #16]
	mov	w8, #2
	str	w8, [sp, #32]
	add	x0, sp, #16
	sub	x1, x29, #24
	bl	_spi_message_add_tail
	ldr	w0, [x20]
	sub	x1, x29, #24
	bl	_spi_sync
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w0, #0
	ldrb	w8, [sp, #15]
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SST25L_CMD_RDSR,1,0            ; @SST25L_CMD_RDSR
	.no_dead_strip	_sst25l_status
.subsections_via_symbols
