	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tango_set_timings
_tango_set_timings:                     ## @tango_set_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_nand_get_sdr_timings
	movq	%rax, %r13
	movl	(%rbx), %edi
	callq	_to_tango_nfc
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_to_tango_chip
	movq	%rax, %r14
	movl	(%r15), %r15d
	movq	%r13, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_NAND_DATA_IFACE_CHECK_ONLY@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	je	LBB0_3
## %bb.2:
	movq	56(%r13), %rsi
	subq	24(%r13), %rsi
	movl	%r15d, %edi
	callq	_to_ticks
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	48(%r13), %rsi
	movl	%r15d, %edi
	callq	_to_ticks
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	40(%r13), %rsi
	movl	%r15d, %edi
	callq	_to_ticks
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	40(%r13), %rsi
	subq	32(%r13), %rsi
	movl	%r15d, %edi
	callq	_to_ticks
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	24(%r13), %rsi
	movl	%r15d, %edi
	callq	_to_ticks
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	8(%r13), %rsi
	movl	%r15d, %edi
	callq	_to_ticks
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	16(%r13), %rsi
	subq	8(%r13), %rsi
	movl	%r15d, %edi
	callq	_to_ticks
	movl	%eax, %r12d
	movq	(%r13), %rsi
	movl	%r15d, %edi
	callq	_to_ticks
	movl	%eax, %ebx
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_TIMING
	movq	%rax, 8(%r14)
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%ebx, %ecx
	callq	_TIMING
	movq	%rax, (%r14)
LBB0_3:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NAND_DATA_IFACE_CHECK_ONLY,4,2 ## @NAND_DATA_IFACE_CHECK_ONLY
	.no_dead_strip	_tango_set_timings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tango_set_timings
_tango_set_timings:                     ; @tango_set_timings
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x19, x0
	mov	x0, x2
	bl	_nand_get_sdr_timings
	mov	x20, x0
	ldr	w0, [x19]
	bl	_to_tango_nfc
	mov	x21, x0
	mov	x0, x19
	bl	_to_tango_chip
	mov	x19, x0
	ldr	w21, [x21]
	mov	x0, x20
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_2:
Lloh0:
	adrp	x8, _NAND_DATA_IFACE_CHECK_ONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NAND_DATA_IFACE_CHECK_ONLY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w22
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x20, #56]
	ldr	x9, [x20, #24]
	sub	x1, x8, x9
	mov	x0, x21
	bl	_to_ticks
	mov	x22, x0
	ldr	x1, [x20, #48]
	mov	x0, x21
	bl	_to_ticks
	mov	x23, x0
	ldr	x1, [x20, #40]
	mov	x0, x21
	bl	_to_ticks
	mov	x24, x0
	ldp	x9, x8, [x20, #32]
	sub	x1, x8, x9
	mov	x0, x21
	bl	_to_ticks
	mov	x25, x0
	ldr	x1, [x20, #24]
	mov	x0, x21
	bl	_to_ticks
	mov	x26, x0
	ldr	x1, [x20, #8]
	mov	x0, x21
	bl	_to_ticks
	mov	x27, x0
	ldp	x9, x8, [x20, #8]
	sub	x1, x8, x9
	mov	x0, x21
	bl	_to_ticks
	mov	x28, x0
	ldr	x1, [x20]
	mov	x0, x21
	bl	_to_ticks
	mov	x20, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	bl	_TIMING
	str	x0, [x19, #8]
	mov	x0, x26
	mov	x1, x27
	mov	x2, x28
	mov	x3, x20
	bl	_TIMING
	str	x0, [x19]
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NAND_DATA_IFACE_CHECK_ONLY,4,2 ; @NAND_DATA_IFACE_CHECK_ONLY
	.no_dead_strip	_tango_set_timings
.subsections_via_symbols
