	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_timefilter_date_w
_set_timefilter_date_w:                 ## @set_timefilter_date_w
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rdx, %rbx
	cmpl	$0, (%rdx)
	je	LBB0_2
## %bb.5:
	movl	%esi, %r14d
	leaq	-40(%rbp), %r12
	movq	%r12, %rdi
	callq	_archive_string_init
	movq	%rbx, %rdi
	callq	_wcslen
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_archive_string_append_from_wcs
	testq	%rax, %rax
	js	LBB0_6
## %bb.9:
	movl	4(%r15), %edi
	movl	-40(%rbp), %esi
	callq	_get_date
	movq	%rax, %rbx
	leaq	-40(%rbp), %rdi
	callq	_archive_string_free
	cmpq	$-1, %rbx
	je	LBB0_10
## %bb.11:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	xorl	%r9d, %r9d
	callq	_set_timefilter
	jmp	LBB0_12
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_3:
	movq	%r15, %rdi
LBB0_4:
	callq	_archive_set_error
	movq	_ARCHIVE_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	-40(%rbp), %rdi
	callq	_archive_string_free
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_error_nomem
	jmp	LBB0_12
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_3
LBB0_8:
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	$-1, %esi
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"date is empty"

	.comm	_ARCHIVE_FAILED,4,2             ## @ARCHIVE_FAILED
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOMEM,8,3                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Failed to convert WCS to MBS"

L_.str.2:                               ## @.str.2
	.asciz	"invalid date string"

	.no_dead_strip	_set_timefilter_date_w
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_timefilter_date_w
_set_timefilter_date_w:                 ; @set_timefilter_date_w
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	cbz	x2, LBB0_5
; %bb.1:
	mov	x21, x2
	ldr	w8, [x2]
	cbz	w8, LBB0_5
; %bb.2:
	mov	x20, x1
	add	x0, sp, #8
	bl	_archive_string_init
	mov	x0, x21
	bl	_wcslen
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, x21
	bl	_archive_string_append_from_wcs
	tbnz	x0, #63, LBB0_9
; %bb.3:
	ldr	w0, [x19, #4]
	ldr	w1, [sp, #8]
	bl	_get_date
	mov	x21, x0
	add	x0, sp, #8
	bl	_archive_string_free
	cmn	x21, #1
	b.eq	LBB0_11
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w3, #0
	mov	x4, x21
	mov	w5, #0
	bl	_set_timefilter
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
LBB0_6:
	mov	x0, x19
LBB0_7:
	bl	_archive_set_error
Lloh5:
	adrp	x8, _ARCHIVE_FAILED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARCHIVE_FAILED@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_8:
	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
	add	sp, sp, #64
	ret
LBB0_9:
	add	x0, sp, #8
	bl	_archive_string_free
Lloh8:
	adrp	x8, _errno@GOTPAGE
Lloh9:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.10:
	mov	x0, x19
	bl	_error_nomem
	b	LBB0_8
LBB0_11:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str.2@PAGE
Lloh18:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_12:
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #-1
	b	LBB0_7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"date is empty"

	.comm	_ARCHIVE_FAILED,4,2             ; @ARCHIVE_FAILED
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOMEM,8,3                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Failed to convert WCS to MBS"

l_.str.2:                               ; @.str.2
	.asciz	"invalid date string"

	.no_dead_strip	_set_timefilter_date_w
.subsections_via_symbols
