	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_clock_gettime                  ## -- Begin function clock_gettime
	.p2align	4, 0x90
_clock_gettime:                         ## @clock_gettime
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	$0, -16(%rbp)
	movq	$0, -24(%rbp)
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	cmpl	$128, %edi
	jne	LBB0_5
## %bb.3:
	movq	%rsi, %rbx
	leaq	-24(%rbp), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	__gettimeofday_r
	movl	%eax, %ecx
	movl	$-1, %eax
	testl	%ecx, %ecx
	jne	LBB0_7
## %bb.4:
	movl	-20(%rbp), %eax
	movl	%eax, 4(%rbx)
	imull	$1000, -24(%rbp), %eax          ## imm = 0x3E8
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_errno,4,2                      ## @errno
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_clock_gettime                  ; -- Begin function clock_gettime
	.p2align	2
_clock_gettime:                         ; @clock_gettime
	.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
	str	wzr, [sp, #8]
	str	xzr, [sp]
	cbz	x1, LBB0_4
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_5
; %bb.2:
	mov	x19, x1
	mov	x1, sp
	mov	x0, #0
	mov	x2, #0
	bl	__gettimeofday_r
	cbnz	w0, LBB0_7
; %bb.3:
	ldp	w9, w8, [sp]
	mov	w10, #1000
	mul	w9, w9, w10
	stp	w9, w8, [x19]
	b	LBB0_8
LBB0_4:
Lloh0:
	adrp	x8, _EFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _errno@GOTPAGE
Lloh5:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh6:
	str	w8, [x9]
LBB0_7:
	mov	w0, #-1
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_errno,4,2                      ; @errno
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
