	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gpmc_calc_timings              ## -- Begin function gpmc_calc_timings
	.p2align	4, 0x90
_gpmc_calc_timings:                     ## @gpmc_calc_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	cmpq	$0, 16(%rbx)
	setne	%r13b
	movl	$1, %r12d
	cmpq	$0, 8(%rbx)
	jne	LBB0_4
## %bb.3:
	xorl	%r12d, %r12d
	cmpq	$0, (%rbx)
	setne	%r12b
	jmp	LBB0_4
LBB0_1:
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
LBB0_4:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_gpmc_calc_common_timings
	movzbl	%r13b, %r12d
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.7:
	cmpq	$0, 8(%rbx)
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_gpmc_calc_sync_read_timings
	cmpq	$0, (%rbx)
	jne	LBB0_11
	jmp	LBB0_6
LBB0_5:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_gpmc_calc_async_read_timings
	jmp	LBB0_6
LBB0_9:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_gpmc_calc_async_read_timings
	cmpq	$0, (%rbx)
	je	LBB0_6
LBB0_11:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_gpmc_calc_sync_write_timings
	jmp	LBB0_12
LBB0_6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_gpmc_calc_async_write_timings
LBB0_12:
	movq	%r15, %rdi
	callq	_gpmc_convert_ps_to_ns
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gpmc_calc_timings              ; -- Begin function gpmc_calc_timings
	.p2align	2
_gpmc_calc_timings:                     ; @gpmc_calc_timings
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	cbz	x1, LBB0_3
; %bb.1:
	ldp	x9, x8, [x22, #8]
	cmp	x8, #0
	cset	w21, ne
	cbz	x9, LBB0_4
; %bb.2:
	mov	w23, #1
	b	LBB0_5
LBB0_3:
	mov	w21, #0
	mov	w23, #0
	b	LBB0_5
LBB0_4:
	ldr	x8, [x22]
	cmp	x8, #0
	cset	w23, ne
LBB0_5:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	bl	_gpmc_calc_common_timings
	cbz	x22, LBB0_8
; %bb.6:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_9
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_gpmc_calc_sync_read_timings
	ldr	x8, [x22]
	cbnz	x8, LBB0_10
	b	LBB0_11
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_gpmc_calc_async_read_timings
	b	LBB0_11
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_gpmc_calc_async_read_timings
	ldr	x8, [x22]
	cbz	x8, LBB0_11
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_gpmc_calc_sync_write_timings
	b	LBB0_12
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_gpmc_calc_async_write_timings
LBB0_12:
	mov	x0, x19
	bl	_gpmc_convert_ps_to_ns
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
