	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jedec_reset
_jedec_reset:                           ## @jedec_reset
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	_MTD_DEBUG_LEVEL3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rcx
	leaq	L_.str(%rip), %rsi
	callq	_DEBUG
	movq	8(%rbx), %rsi
	movl	(%rbx), %r9d
	movq	$0, (%rsp)
	movl	$170, %edi
	movl	%r15d, %edx
	movq	%r14, %rcx
	movq	%rbx, %r8
	callq	_cfi_send_gen_cmd
	movq	16(%rbx), %rsi
	movl	(%rbx), %r9d
	movq	$0, (%rsp)
	movl	$85, %edi
	movl	%r15d, %edx
	movq	%r14, %rcx
	movq	%rbx, %r8
	callq	_cfi_send_gen_cmd
	movq	8(%rbx), %rsi
	jmp	LBB0_3
LBB0_1:
	xorl	%esi, %esi
LBB0_3:
	movl	(%rbx), %r9d
	movq	$0, (%rsp)
	movl	$240, %edi
	movl	%r15d, %edx
	movq	%r14, %rcx
	movq	%rbx, %r8
	callq	_cfi_send_gen_cmd
	movl	(%rbx), %r9d
	movq	$0, (%rsp)
	movl	$255, %edi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movq	%r14, %rcx
	movq	%rbx, %r8
	callq	_cfi_send_gen_cmd
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MTD_DEBUG_LEVEL3,4,2           ## @MTD_DEBUG_LEVEL3
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reset unlock called %x %x \n"

	.no_dead_strip	_jedec_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jedec_reset
_jedec_reset:                           ; @jedec_reset
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x2, [x2, #8]
	cbz	x2, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MTD_DEBUG_LEVEL3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTD_DEBUG_LEVEL3@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x3, [x19, #16]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DEBUG
	ldr	x1, [x19, #8]
	ldr	w5, [x19]
	mov	w0, #170
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	x6, #0
	bl	_cfi_send_gen_cmd
	ldr	x1, [x19, #16]
	ldr	w5, [x19]
	mov	w0, #85
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	x6, #0
	bl	_cfi_send_gen_cmd
	ldr	x1, [x19, #8]
	b	LBB0_3
LBB0_2:
	mov	x1, #0
LBB0_3:
	ldr	w5, [x19]
	mov	w0, #240
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	x6, #0
	bl	_cfi_send_gen_cmd
	ldr	w5, [x19]
	mov	w0, #255
	mov	x1, #0
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	x6, #0
	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	_cfi_send_gen_cmd
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MTD_DEBUG_LEVEL3,4,2           ; @MTD_DEBUG_LEVEL3
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reset unlock called %x %x \n"

	.no_dead_strip	_jedec_reset
.subsections_via_symbols
