	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nand_set_defaults
_nand_set_defaults:                     ## @nand_set_defaults
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	cmpq	$0, 104(%rbx)
	je	LBB0_3
LBB0_4:
	cmpq	$0, 96(%rbx)
	je	LBB0_5
LBB0_6:
	cmpq	$0, 88(%rbx)
	je	LBB0_7
LBB0_8:
	cmpq	$0, 80(%rbx)
	je	LBB0_9
LBB0_13:
	cmpq	$0, 72(%rbx)
	je	LBB0_14
LBB0_15:
	cmpq	$0, 64(%rbx)
	je	LBB0_16
LBB0_17:
	cmpq	$0, 56(%rbx)
	je	LBB0_18
LBB0_19:
	cmpq	$0, 48(%rbx)
	je	LBB0_20
LBB0_24:
	cmpq	$0, 40(%rbx)
	je	LBB0_25
LBB0_29:
	cmpq	$0, 32(%rbx)
	je	LBB0_30
LBB0_34:
	cmpq	$0, 24(%rbx)
	je	LBB0_35
LBB0_36:
	cmpq	$0, 8(%rbx)
	je	LBB0_38
LBB0_37:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movl	$20, (%rbx)
	cmpq	$0, 104(%rbx)
	jne	LBB0_4
LBB0_3:
	movq	_nand_command@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 104(%rbx)
	cmpq	$0, 96(%rbx)
	jne	LBB0_6
LBB0_5:
	movq	_nand_wait@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 96(%rbx)
	cmpq	$0, 88(%rbx)
	jne	LBB0_8
LBB0_7:
	movq	_nand_select_chip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 88(%rbx)
	cmpq	$0, 80(%rbx)
	jne	LBB0_13
LBB0_9:
	testl	%esi, %esi
	jne	LBB0_10
## %bb.11:
	movq	_nand_read_byte@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movq	_nand_read_byte16@GOTPCREL(%rip), %rax
LBB0_12:
	movq	(%rax), %rax
	movq	%rax, 80(%rbx)
	cmpq	$0, 72(%rbx)
	jne	LBB0_15
LBB0_14:
	movq	_nand_read_word@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%rbx)
	cmpq	$0, 64(%rbx)
	jne	LBB0_17
LBB0_16:
	movq	_nand_block_bad@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%rbx)
	cmpq	$0, 56(%rbx)
	jne	LBB0_19
LBB0_18:
	movq	_nand_default_block_markbad@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%rbx)
	cmpq	$0, 48(%rbx)
	jne	LBB0_24
LBB0_20:
	testl	%esi, %esi
	jne	LBB0_21
## %bb.22:
	movq	_nand_write_buf@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_21:
	movq	_nand_write_buf16@GOTPCREL(%rip), %rax
LBB0_23:
	movq	(%rax), %rax
	movq	%rax, 48(%rbx)
	cmpq	$0, 40(%rbx)
	jne	LBB0_29
LBB0_25:
	testl	%esi, %esi
	jne	LBB0_26
## %bb.27:
	movq	_nand_read_buf@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_26:
	movq	_nand_read_buf16@GOTPCREL(%rip), %rax
LBB0_28:
	movq	(%rax), %rax
	movq	%rax, 40(%rbx)
	cmpq	$0, 32(%rbx)
	jne	LBB0_34
LBB0_30:
	testl	%esi, %esi
	jne	LBB0_31
## %bb.32:
	movq	_nand_verify_buf@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_31:
	movq	_nand_verify_buf16@GOTPCREL(%rip), %rax
LBB0_33:
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	cmpq	$0, 24(%rbx)
	jne	LBB0_36
LBB0_35:
	movq	_nand_default_bbt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_37
LBB0_38:
	leaq	16(%rbx), %rax
	movq	%rax, 8(%rbx)
	leaq	20(%rbx), %rdi
	callq	_spin_lock_init
	movq	8(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_init_waitqueue_head            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_nand_command,8,3               ## @nand_command
	.comm	_nand_wait,8,3                  ## @nand_wait
	.comm	_nand_select_chip,8,3           ## @nand_select_chip
	.comm	_nand_read_byte16,8,3           ## @nand_read_byte16
	.comm	_nand_read_byte,8,3             ## @nand_read_byte
	.comm	_nand_read_word,8,3             ## @nand_read_word
	.comm	_nand_block_bad,8,3             ## @nand_block_bad
	.comm	_nand_default_block_markbad,8,3 ## @nand_default_block_markbad
	.comm	_nand_write_buf16,8,3           ## @nand_write_buf16
	.comm	_nand_write_buf,8,3             ## @nand_write_buf
	.comm	_nand_read_buf16,8,3            ## @nand_read_buf16
	.comm	_nand_read_buf,8,3              ## @nand_read_buf
	.comm	_nand_verify_buf16,8,3          ## @nand_verify_buf16
	.comm	_nand_verify_buf,8,3            ## @nand_verify_buf
	.comm	_nand_default_bbt,8,3           ## @nand_default_bbt
	.no_dead_strip	_nand_set_defaults
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nand_set_defaults
_nand_set_defaults:                     ; @nand_set_defaults
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_14
; %bb.1:
	ldr	x8, [x19, #104]
	cbz	x8, LBB0_15
LBB0_2:
	ldr	x8, [x19, #96]
	cbz	x8, LBB0_16
LBB0_3:
	ldr	x8, [x19, #88]
	cbz	x8, LBB0_17
LBB0_4:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_18
LBB0_5:
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_19
LBB0_6:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_20
LBB0_7:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_21
LBB0_8:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_22
LBB0_9:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_23
LBB0_10:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_24
LBB0_11:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_25
LBB0_12:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_26
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	w8, #20
	str	w8, [x19]
	ldr	x8, [x19, #104]
	cbnz	x8, LBB0_2
LBB0_15:
Lloh0:
	adrp	x8, _nand_command@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nand_command@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19, #104]
	ldr	x8, [x19, #96]
	cbnz	x8, LBB0_3
LBB0_16:
Lloh3:
	adrp	x8, _nand_wait@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nand_wait@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #96]
	ldr	x8, [x19, #88]
	cbnz	x8, LBB0_4
LBB0_17:
Lloh6:
	adrp	x8, _nand_select_chip@GOTPAGE
Lloh7:
	ldr	x8, [x8, _nand_select_chip@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19, #88]
	ldr	x8, [x19, #80]
	cbnz	x8, LBB0_5
LBB0_18:
Lloh9:
	adrp	x8, _nand_read_byte16@GOTPAGE
Lloh10:
	ldr	x8, [x8, _nand_read_byte16@GOTPAGEOFF]
Lloh11:
	adrp	x9, _nand_read_byte@GOTPAGE
Lloh12:
	ldr	x9, [x9, _nand_read_byte@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	str	x8, [x19, #80]
	ldr	x8, [x19, #72]
	cbnz	x8, LBB0_6
LBB0_19:
Lloh13:
	adrp	x8, _nand_read_word@GOTPAGE
Lloh14:
	ldr	x8, [x8, _nand_read_word@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [x19, #72]
	ldr	x8, [x19, #64]
	cbnz	x8, LBB0_7
LBB0_20:
Lloh16:
	adrp	x8, _nand_block_bad@GOTPAGE
Lloh17:
	ldr	x8, [x8, _nand_block_bad@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x19, #64]
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_8
LBB0_21:
Lloh19:
	adrp	x8, _nand_default_block_markbad@GOTPAGE
Lloh20:
	ldr	x8, [x8, _nand_default_block_markbad@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	str	x8, [x19, #56]
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_9
LBB0_22:
Lloh22:
	adrp	x8, _nand_write_buf16@GOTPAGE
Lloh23:
	ldr	x8, [x8, _nand_write_buf16@GOTPAGEOFF]
Lloh24:
	adrp	x9, _nand_write_buf@GOTPAGE
Lloh25:
	ldr	x9, [x9, _nand_write_buf@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	str	x8, [x19, #48]
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_10
LBB0_23:
Lloh26:
	adrp	x8, _nand_read_buf16@GOTPAGE
Lloh27:
	ldr	x8, [x8, _nand_read_buf16@GOTPAGEOFF]
Lloh28:
	adrp	x9, _nand_read_buf@GOTPAGE
Lloh29:
	ldr	x9, [x9, _nand_read_buf@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	str	x8, [x19, #40]
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_11
LBB0_24:
Lloh30:
	adrp	x8, _nand_verify_buf16@GOTPAGE
Lloh31:
	ldr	x8, [x8, _nand_verify_buf16@GOTPAGEOFF]
Lloh32:
	adrp	x9, _nand_verify_buf@GOTPAGE
Lloh33:
	ldr	x9, [x9, _nand_verify_buf@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	str	x8, [x19, #32]
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_12
LBB0_25:
Lloh34:
	adrp	x8, _nand_default_bbt@GOTPAGE
Lloh35:
	ldr	x8, [x8, _nand_default_bbt@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_13
LBB0_26:
	add	x8, x19, #16
	str	x8, [x19, #8]
	add	x0, x19, #20
	bl	_spin_lock_init
	ldr	x0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_init_waitqueue_head
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_nand_command,8,3               ; @nand_command
	.comm	_nand_wait,8,3                  ; @nand_wait
	.comm	_nand_select_chip,8,3           ; @nand_select_chip
	.comm	_nand_read_byte16,8,3           ; @nand_read_byte16
	.comm	_nand_read_byte,8,3             ; @nand_read_byte
	.comm	_nand_read_word,8,3             ; @nand_read_word
	.comm	_nand_block_bad,8,3             ; @nand_block_bad
	.comm	_nand_default_block_markbad,8,3 ; @nand_default_block_markbad
	.comm	_nand_write_buf16,8,3           ; @nand_write_buf16
	.comm	_nand_write_buf,8,3             ; @nand_write_buf
	.comm	_nand_read_buf16,8,3            ; @nand_read_buf16
	.comm	_nand_read_buf,8,3              ; @nand_read_buf
	.comm	_nand_verify_buf16,8,3          ; @nand_verify_buf16
	.comm	_nand_verify_buf,8,3            ; @nand_verify_buf
	.comm	_nand_default_bbt,8,3           ; @nand_default_bbt
	.no_dead_strip	_nand_set_defaults
.subsections_via_symbols
