	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_timing_get_timer       ## -- Begin function mbedtls_timing_get_timer
	.p2align	4, 0x90
_mbedtls_timing_get_timer:              ## @mbedtls_timing_get_timer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	-24(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	movl	-24(%rbp), %eax
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movl	%eax, (%rbx)
	movl	-20(%rbp), %eax
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	subl	(%rbx), %eax
	movl	-20(%rbp), %ecx
	subl	4(%rbx), %ecx
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	movslq	%ecx, %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	addl	%eax, %ecx
	movslq	%ecx, %rax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	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	_mbedtls_timing_get_timer       ; -- Begin function mbedtls_timing_get_timer
	.p2align	2
_mbedtls_timing_get_timer:              ; @mbedtls_timing_get_timer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	x1, #0
	bl	_gettimeofday
	ldr	w8, [sp, #8]
	cbz	w20, LBB0_2
; %bb.1:
	mov	x0, #0
	ldr	w9, [sp, #12]
	stp	w8, w9, [x19]
	b	LBB0_3
LBB0_2:
	ldp	w9, w10, [x19]
	sub	w8, w8, w9
	mov	w9, #1000
	ldr	w11, [sp, #12]
	sub	w10, w11, w10
	mov	w11, #19923
	movk	w11, #4194, lsl #16
	smull	x10, w10, w11
	lsr	x11, x10, #63
	asr	x10, x10, #38
	add	w10, w10, w11
	madd	w8, w8, w9, w10
	sxtw	x0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
