	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_wep                        ## -- Begin function log_wep
	.p2align	4, 0x90
_log_wep:                               ## @log_wep
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	%ebx, -44(%rbp)
	movl	%ebx, -48(%rbp)
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movl	-32(%rbp), %eax
	movl	%eax, -40(%rbp)
	movq	_weplog@GOTPCREL(%rip), %r15
	movl	8(%r15), %edi
	leaq	-48(%rbp), %rsi
	movl	$12, %edx
	callq	_write
	cmpl	$12, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	movl	8(%r15), %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_write
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.7:
	cmpl	%ebx, %eax
	jne	LBB0_9
## %bb.8:
	addq	$12, %r14
	movl	4(%r15), %edi
	movq	%r14, %rsi
	movl	$3, %edx
	callq	_memcpy
	incl	(%r15)
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	_log_wep.cold.1
	jmp	LBB0_6
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_time_print
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function log_wep.cold.1
_log_wep.cold.1:                        ## @log_wep.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gettimeofday()"

	.comm	_weplog,12,2                    ## @weplog
L_.str.1:                               ## @.str.1
	.asciz	"write()"

L_.str.2:                               ## @.str.2
	.asciz	"short write %d out of %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_log_wep                        ; -- Begin function log_wep
	.p2align	2
_log_wep:                               ; @log_wep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	stp	w19, w19, [sp, #16]
	add	x0, sp, #8
	mov	x1, #0
	bl	_gettimeofday
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	ldr	w8, [sp, #8]
	str	w8, [sp, #24]
Lloh2:
	adrp	x21, _weplog@GOTPAGE
Lloh3:
	ldr	x21, [x21, _weplog@GOTPAGEOFF]
	ldr	w0, [x21, #8]
	add	x1, sp, #16
	mov	w2, #12
	bl	_write
	cmp	w0, #12
	b.eq	LBB0_4
; %bb.3:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	ldr	w0, [x21, #8]
	mov	x1, x20
	mov	x2, x19
	bl	_write
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.5:
	mov	x1, x0
	cmp	w0, w19
	b.ne	LBB0_8
; %bb.6:
	add	x1, x20, #12
	ldr	w0, [x21, #4]
	mov	w2, #3
	bl	_memcpy
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	bl	_log_wep.cold.1
LBB0_8:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_time_print
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function log_wep.cold.1
_log_wep.cold.1:                        ; @log_wep.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gettimeofday()"

	.comm	_weplog,12,2                    ; @weplog
l_.str.1:                               ; @.str.1
	.asciz	"write()"

l_.str.2:                               ; @.str.2
	.asciz	"short write %d out of %d\n"

.subsections_via_symbols
