	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_futimens                       ## -- Begin function futimens
	.p2align	4, 0x90
_futimens:                              ## @futimens
	.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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %rbx
	movl	(%rsi), %ecx
	movq	_UTIME_NOW@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	cmpl	%esi, %ecx
	jne	LBB0_4
## %bb.2:
	cmpl	%ecx, 8(%rbx)
	jne	LBB0_4
LBB0_6:
	xorl	%r15d, %r15d
LBB0_7:
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_futimes
	jmp	LBB0_15
LBB0_4:
	movq	_UTIME_OMIT@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	cmpl	%edx, %ecx
	jne	LBB0_8
## %bb.5:
	xorl	%eax, %eax
	cmpl	%ecx, 8(%rbx)
	jne	LBB0_10
	jmp	LBB0_15
LBB0_8:
	cmpl	$1000000000, %ecx               ## imm = 0x3B9ACA00
	jb	LBB0_10
## %bb.9:
	cmpl	%esi, %ecx
	jne	LBB0_13
LBB0_10:
	movl	8(%rbx), %r8d
	cmpl	$1000000000, %r8d               ## imm = 0x3B9ACA00
	jb	LBB0_17
## %bb.11:
	cmpl	%esi, %r8d
	je	LBB0_17
## %bb.12:
	cmpl	%edx, %r8d
	je	LBB0_17
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_14:
	movl	$-1, %eax
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_34
## %bb.16:
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movslq	%ecx, %rsi
	imulq	$274877907, %rsi, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rdi
	shrq	$63, %rdi
	sarq	$38, %rsi
	addl	%edi, %esi
	movslq	%r8d, %rdi
	imulq	$274877907, %rdi, %rdi          ## imm = 0x10624DD3
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$38, %rdi
	addl	%eax, %edi
	movl	4(%rbx), %eax
	movl	%eax, -60(%rbp)
	movl	%esi, -64(%rbp)
	movl	12(%rbx), %eax
	movl	%eax, -52(%rbp)
	movl	%edi, -56(%rbp)
	cmpl	%edx, %ecx
	je	LBB0_19
## %bb.18:
	cmpl	%edx, %r8d
	jne	LBB0_26
LBB0_19:
	leaq	-88(%rbp), %rsi
	movl	%r14d, %edi
	callq	_fstat
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.20:
	movl	(%rbx), %ecx
	movl	(%r15), %r8d
	cmpl	%r8d, %ecx
	jne	LBB0_22
## %bb.21:
	movl	-76(%rbp), %eax
	movl	%eax, -60(%rbp)
	movslq	-80(%rbp), %rax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$38, %rax
	addl	%edx, %eax
	movl	%eax, -64(%rbp)
LBB0_22:
	movl	8(%rbx), %edx
	cmpl	%r8d, %edx
	jne	LBB0_25
## %bb.23:
	movl	-84(%rbp), %eax
	movl	%eax, -52(%rbp)
	movslq	-88(%rbp), %rax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$38, %rax
	addl	%edx, %eax
	movl	%eax, -56(%rbp)
	jmp	LBB0_26
LBB0_25:
	movl	%edx, %r8d
LBB0_26:
	leaq	-64(%rbp), %r15
	movl	(%r12), %edx
	cmpl	%edx, %ecx
	je	LBB0_28
## %bb.27:
	cmpl	%edx, %r8d
	jne	LBB0_7
LBB0_28:
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.29:
	movl	(%r12), %eax
	cmpl	%eax, (%rbx)
	jne	LBB0_31
## %bb.30:
	movq	-72(%rbp), %rcx
	movq	%rcx, -64(%rbp)
LBB0_31:
	cmpl	%eax, 8(%rbx)
	jne	LBB0_7
## %bb.32:
	movq	-72(%rbp), %rax
	movq	%rax, -56(%rbp)
	jmp	LBB0_7
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_UTIME_NOW,4,2                  ## @UTIME_NOW
	.comm	_UTIME_OMIT,4,2                 ## @UTIME_OMIT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_futimens                       ; -- Begin function futimens
	.p2align	2
_futimens:                              ; @futimens
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	cbz	x1, LBB0_24
; %bb.1:
	mov	x20, x1
	ldr	w8, [x1]
Lloh3:
	adrp	x21, _UTIME_NOW@GOTPAGE
Lloh4:
	ldr	x21, [x21, _UTIME_NOW@GOTPAGEOFF]
	ldr	w11, [x21]
	cmp	w8, w11
	b.ne	LBB0_4
; %bb.2:
	ldr	w9, [x20, #8]
	cmp	w9, w8
	b.ne	LBB0_4
; %bb.3:
	mov	x1, #0
	b	LBB0_24
LBB0_4:
	mov	w12, #51711
	movk	w12, #15258, lsl #16
Lloh5:
	adrp	x22, _UTIME_OMIT@GOTPAGE
Lloh6:
	ldr	x22, [x22, _UTIME_OMIT@GOTPAGEOFF]
	ldr	w10, [x22]
	cmp	w8, w10
	b.ne	LBB0_7
; %bb.5:
	ldr	w9, [x20, #8]
	cmp	w9, w8
	b.ne	LBB0_8
; %bb.6:
	mov	w0, #0
	b	LBB0_25
LBB0_7:
	add	w9, w12, #1
	cmp	w8, w9
	ccmp	w8, w11, #4, hs
	b.ne	LBB0_22
LBB0_8:
	ldr	w9, [x20, #8]
	cmp	w9, w12
	b.ls	LBB0_10
; %bb.9:
	cmp	w9, w11
	ccmp	w9, w10, #4, ne
	b.ne	LBB0_22
LBB0_10:
	mov	w11, #19923
	movk	w11, #4194, lsl #16
	smull	x12, w8, w11
	lsr	x13, x12, #63
	asr	x12, x12, #38
	add	w12, w12, w13
	ldr	w13, [x20, #4]
	stp	w12, w13, [sp, #24]
	ldr	w12, [x20, #12]
	smull	x11, w9, w11
	lsr	x13, x11, #63
	asr	x11, x11, #38
	add	w11, w11, w13
	stp	w11, w12, [sp, #32]
	cmp	w8, w10
	ccmp	w9, w10, #4, ne
	b.ne	LBB0_16
; %bb.11:
	mov	x1, sp
	mov	x0, x19
	bl	_fstat
	cmn	w0, #1
	b.eq	LBB0_25
; %bb.12:
	ldr	w8, [x20]
	ldr	w10, [x22]
	cmp	w8, w10
	b.ne	LBB0_14
; %bb.13:
	ldp	w11, w9, [sp, #8]
                                        ; kill: def $w11 killed $w11 def $x11
	sxtw	x11, w11
	mov	w12, #19923
	movk	w12, #4194, lsl #16
	mul	x11, x11, x12
	lsr	x12, x11, #63
	asr	x11, x11, #38
	add	w11, w11, w12
	stp	w11, w9, [sp, #24]
LBB0_14:
	ldr	w9, [x20, #8]
	cmp	w9, w10
	b.ne	LBB0_16
; %bb.15:
	ldp	w11, w9, [sp]
                                        ; kill: def $w11 killed $w11 def $x11
	sxtw	x11, w11
	mov	w12, #19923
	movk	w12, #4194, lsl #16
	mul	x11, x11, x12
	lsr	x12, x11, #63
	asr	x11, x11, #38
	add	w11, w11, w12
	stp	w11, w9, [sp, #32]
	mov	x9, x10
LBB0_16:
	ldr	w10, [x21]
	cmp	w8, w10
	ccmp	w9, w10, #4, ne
	b.ne	LBB0_23
; %bb.17:
	add	x0, sp, #16
	mov	x1, #0
	bl	_gettimeofday
	cmn	w0, #1
	b.eq	LBB0_25
; %bb.18:
	ldr	w9, [x20]
	ldr	w8, [x21]
	cmp	w9, w8
	b.ne	LBB0_20
; %bb.19:
	ldr	x9, [sp, #16]
	str	x9, [sp, #24]
LBB0_20:
	ldr	w9, [x20, #8]
	add	x1, sp, #24
	cmp	w9, w8
	b.ne	LBB0_24
; %bb.21:
	ldr	x8, [sp, #16]
	str	x8, [sp, #32]
	b	LBB0_24
LBB0_22:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _errno@GOTPAGE
Lloh11:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh12:
	str	w8, [x9]
	mov	w0, #-1
	b	LBB0_25
LBB0_23:
	add	x1, sp, #24
LBB0_24:
	mov	x0, x19
	bl	_futimes
LBB0_25:
	ldr	x8, [sp, #40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.26:
	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
	add	sp, sp, #96
	ret
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_UTIME_NOW,4,2                  ; @UTIME_NOW
	.comm	_UTIME_OMIT,4,2                 ; @UTIME_OMIT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
