	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_date_format              ## -- Begin function parse_date_format
	.p2align	4, 0x90
_parse_date_format:                     ## @parse_date_format
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	$1, %edi
	callq	_isatty
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	callq	_pager_in_use
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	movq	-32(%rbp), %rbx
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	leaq	L_.str.3(%rip), %r15
	cmovneq	%rbx, %r15
	leaq	-32(%rbp), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_parse_date_type
	movl	%eax, 8(%r14)
	movl	$0, (%r14)
	movq	-32(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	$1, (%r14)
LBB0_7:
	movl	8(%r14), %eax
	movq	_DATE_STRFTIME@GOTPCREL(%rip), %rcx
	movq	-32(%rbp), %rdi
	cmpl	(%rcx), %eax
	jne	LBB0_11
## %bb.8:
	leaq	L_.str.5(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.6(%rip), %rdi
	movq	%r15, %rsi
	callq	_die
LBB0_10:
	movq	-32(%rbp), %rdi
	callq	_xstrdup
	movl	%eax, 4(%r14)
	jmp	LBB0_13
LBB0_11:
	cmpb	$0, (%rdi)
	je	LBB0_13
## %bb.12:
	leaq	L_.str.7(%rip), %rdi
	movq	%r15, %rsi
	callq	_die
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str.1(%rip), %rbx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auto:"

L_.str.1:                               ## @.str.1
	.asciz	"default"

L_.str.2:                               ## @.str.2
	.asciz	"local"

L_.str.3:                               ## @.str.3
	.asciz	"default-local"

L_.str.4:                               ## @.str.4
	.asciz	"-local"

	.comm	_DATE_STRFTIME,4,2              ## @DATE_STRFTIME
L_.str.5:                               ## @.str.5
	.asciz	":"

L_.str.6:                               ## @.str.6
	.asciz	"date format missing colon separator: %s"

L_.str.7:                               ## @.str.7
	.asciz	"unknown date format %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_date_format              ; -- Begin function parse_date_format
	.p2align	2
_parse_date_format:                     ; @parse_date_format
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
	cbz	x0, LBB0_4
; %bb.1:
	mov	w0, #1
	bl	_isatty
	cbnz	x0, LBB0_3
; %bb.2:
	bl	_pager_in_use
	cbz	x0, LBB0_13
LBB0_3:
	ldr	x20, [sp, #8]
LBB0_4:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcmp
Lloh4:
	adrp	x8, l_.str.3@PAGE
Lloh5:
	add	x8, x8, l_.str.3@PAGEOFF
	cmp	w0, #0
	csel	x20, x8, x20, eq
	add	x1, sp, #8
	mov	x0, x20
	bl	_parse_date_type
	str	w0, [x19, #8]
	str	wzr, [x19]
	ldr	x0, [sp, #8]
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
	cbz	x0, LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x19]
LBB0_6:
	ldr	w8, [x19, #8]
Lloh8:
	adrp	x9, _DATE_STRFTIME@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DATE_STRFTIME@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	ldr	x0, [sp, #8]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.7:
Lloh11:
	adrp	x1, l_.str.5@PAGE
Lloh12:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
	cbnz	x0, LBB0_9
; %bb.8:
Lloh13:
	adrp	x0, l_.str.6@PAGE
Lloh14:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x20
	bl	_die
LBB0_9:
	ldr	x0, [sp, #8]
	bl	_xstrdup
	str	w0, [x19, #4]
	b	LBB0_12
LBB0_10:
	ldrb	w8, [x0]
	cbz	w8, LBB0_12
; %bb.11:
Lloh15:
	adrp	x0, l_.str.7@PAGE
Lloh16:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x20
	bl	_die
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_13:
Lloh17:
	adrp	x20, l_.str.1@PAGE
Lloh18:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auto:"

l_.str.1:                               ; @.str.1
	.asciz	"default"

l_.str.2:                               ; @.str.2
	.asciz	"local"

l_.str.3:                               ; @.str.3
	.asciz	"default-local"

l_.str.4:                               ; @.str.4
	.asciz	"-local"

	.comm	_DATE_STRFTIME,4,2              ; @DATE_STRFTIME
l_.str.5:                               ; @.str.5
	.asciz	":"

l_.str.6:                               ; @.str.6
	.asciz	"date format missing colon separator: %s"

l_.str.7:                               ; @.str.7
	.asciz	"unknown date format %s"

.subsections_via_symbols
