	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macronix_nand_fix_broken_get_timings
_macronix_nand_fix_broken_get_timings:  ## @macronix_nand_fix_broken_get_timings
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, 12(%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r15
	leaq	_macronix_nand_fix_broken_get_timings.broken_get_timings(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movl	8(%r15), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$8, %rbx
	cmpq	%rax, %r12
	jb	LBB0_3
LBB0_5:
	leaq	_macronix_nand_fix_broken_get_timings.broken_get_timings(%rip), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r12d
	jne	LBB0_7
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	4(%r15), %edi
	movq	_ONFI_FEATURE_ADDR_TIMING_MODE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$1, %edx
	callq	_bitmap_clear
	movl	(%r15), %edi
	movl	(%rbx), %esi
	movl	$1, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bitmap_clear                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @macronix_nand_fix_broken_get_timings.broken_get_timings
_macronix_nand_fix_broken_get_timings.broken_get_timings:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	L_.str.4
	.quad	L_.str.5
	.quad	L_.str.6
	.quad	L_.str.7
	.quad	L_.str.8
	.quad	L_.str.9
	.quad	L_.str.10
	.quad	L_.str.11
	.quad	L_.str.12
	.quad	L_.str.13

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MX30LF1G18AC"

L_.str.1:                               ## @.str.1
	.asciz	"MX30LF1G28AC"

L_.str.2:                               ## @.str.2
	.asciz	"MX30LF2G18AC"

L_.str.3:                               ## @.str.3
	.asciz	"MX30LF2G28AC"

L_.str.4:                               ## @.str.4
	.asciz	"MX30LF4G18AC"

L_.str.5:                               ## @.str.5
	.asciz	"MX30LF4G28AC"

L_.str.6:                               ## @.str.6
	.asciz	"MX60LF8G18AC"

L_.str.7:                               ## @.str.7
	.asciz	"MX30UF1G18AC"

L_.str.8:                               ## @.str.8
	.asciz	"MX30UF1G16AC"

L_.str.9:                               ## @.str.9
	.asciz	"MX30UF2G18AC"

L_.str.10:                              ## @.str.10
	.asciz	"MX30UF2G16AC"

L_.str.11:                              ## @.str.11
	.asciz	"MX30UF4G18AC"

L_.str.12:                              ## @.str.12
	.asciz	"MX30UF4G16AC"

L_.str.13:                              ## @.str.13
	.asciz	"MX30UF4G28AC"

	.comm	_ONFI_FEATURE_ADDR_TIMING_MODE,4,2 ## @ONFI_FEATURE_ADDR_TIMING_MODE
	.no_dead_strip	_macronix_nand_fix_broken_get_timings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macronix_nand_fix_broken_get_timings
_macronix_nand_fix_broken_get_timings:  ; @macronix_nand_fix_broken_get_timings
	.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
	ldr	w8, [x0, #12]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, _macronix_nand_fix_broken_get_timings.broken_get_timings@PAGE
Lloh1:
	add	x20, x20, _macronix_nand_fix_broken_get_timings.broken_get_timings@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_5
; %bb.2:
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, x21, lsl #3]
	ldr	w1, [x19, #8]
	bl	_strcmp
	cbz	w0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	x21, w0, uxtw
	b.lo	LBB0_3
	b	LBB0_6
LBB0_5:
	mov	w21, #0
LBB0_6:
Lloh2:
	adrp	x0, _macronix_nand_fix_broken_get_timings.broken_get_timings@PAGE
Lloh3:
	add	x0, x0, _macronix_nand_fix_broken_get_timings.broken_get_timings@PAGEOFF
	bl	_ARRAY_SIZE
	cmp	w21, w0
	b.ne	LBB0_8
LBB0_7:
	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
	ret
LBB0_8:
	ldr	w0, [x19, #4]
Lloh4:
	adrp	x20, _ONFI_FEATURE_ADDR_TIMING_MODE@GOTPAGE
Lloh5:
	ldr	x20, [x20, _ONFI_FEATURE_ADDR_TIMING_MODE@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w2, #1
	bl	_bitmap_clear
	ldr	w0, [x19]
	ldr	w1, [x20]
	mov	w2, #1
	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	_bitmap_clear
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @macronix_nand_fix_broken_get_timings.broken_get_timings
_macronix_nand_fix_broken_get_timings.broken_get_timings:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str.7
	.quad	l_.str.8
	.quad	l_.str.9
	.quad	l_.str.10
	.quad	l_.str.11
	.quad	l_.str.12
	.quad	l_.str.13

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MX30LF1G18AC"

l_.str.1:                               ; @.str.1
	.asciz	"MX30LF1G28AC"

l_.str.2:                               ; @.str.2
	.asciz	"MX30LF2G18AC"

l_.str.3:                               ; @.str.3
	.asciz	"MX30LF2G28AC"

l_.str.4:                               ; @.str.4
	.asciz	"MX30LF4G18AC"

l_.str.5:                               ; @.str.5
	.asciz	"MX30LF4G28AC"

l_.str.6:                               ; @.str.6
	.asciz	"MX60LF8G18AC"

l_.str.7:                               ; @.str.7
	.asciz	"MX30UF1G18AC"

l_.str.8:                               ; @.str.8
	.asciz	"MX30UF1G16AC"

l_.str.9:                               ; @.str.9
	.asciz	"MX30UF2G18AC"

l_.str.10:                              ; @.str.10
	.asciz	"MX30UF2G16AC"

l_.str.11:                              ; @.str.11
	.asciz	"MX30UF4G18AC"

l_.str.12:                              ; @.str.12
	.asciz	"MX30UF4G16AC"

l_.str.13:                              ; @.str.13
	.asciz	"MX30UF4G28AC"

	.comm	_ONFI_FEATURE_ADDR_TIMING_MODE,4,2 ; @ONFI_FEATURE_ADDR_TIMING_MODE
	.no_dead_strip	_macronix_nand_fix_broken_get_timings
.subsections_via_symbols
