	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function locale_date_order
_locale_date_order:                     ## @locale_date_order
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_DATEORDER_MDY@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	movq	_LC_TIME@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	_setlocale
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %rdi
	callq	_pg_strdup
	movq	%rax, %r15
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_setlocale
	leaq	-192(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movabsq	$42949672982, %rax              ## imm = 0xA00000016
	movq	%rax, -192(%rbp)
	movl	$133, -184(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-176(%rbp), %rdi
	movl	$128, %esi
	movq	%rbx, %rcx
	callq	_my_strftime
	movq	%rax, %rbx
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_setlocale
	movq	%r15, %rdi
	callq	_free
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	leaq	-176(%rbp), %r12
	movq	%r12, %rdi
	callq	_strstr
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_strstr
	movq	%rax, %rbx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_strstr
	testq	%r15, %r15
	je	LBB0_10
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.4:
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	cmpq	%r15, %rbx
	jae	LBB0_7
## %bb.6:
	movq	_DATEORDER_DMY@GOTPCREL(%rip), %r13
LBB0_7:
	movq	%r13, %rcx
	cmpq	%rbx, %r15
	jae	LBB0_9
## %bb.8:
	movq	_DATEORDER_YMD@GOTPCREL(%rip), %rcx
LBB0_9:
	cmpq	%r15, %rax
	cmovbq	%rcx, %r13
	movl	(%r13), %r14d
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r14d, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DATEORDER_MDY,4,2              ## @DATEORDER_MDY
	.comm	_LC_TIME,4,2                    ## @LC_TIME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%x"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"33"

	.comm	_DATEORDER_YMD,4,2              ## @DATEORDER_YMD
	.comm	_DATEORDER_DMY,4,2              ## @DATEORDER_DMY
	.no_dead_strip	_locale_date_order
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function locale_date_order
lCPI0_0:
	.long	22                              ; 0x16
	.long	10                              ; 0xa
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_locale_date_order:                     ; @locale_date_order
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x22, _DATEORDER_MDY@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DATEORDER_MDY@GOTPAGEOFF]
	ldr	w19, [x22]
Lloh5:
	adrp	x23, _LC_TIME@GOTPAGE
Lloh6:
	ldr	x23, [x23, _LC_TIME@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, #0
	bl	_setlocale
	cbz	x0, LBB0_6
; %bb.1:
	bl	_pg_strdup
	mov	x21, x0
	ldr	w0, [x23]
	mov	x1, x20
	bl	_setlocale
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh7:
	adrp	x8, lCPI0_0@PAGE
Lloh8:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #8]
	mov	w8, #133
	str	w8, [sp, #16]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #24
	add	x3, sp, #8
	mov	w1, #128
	bl	_my_strftime
	mov	x20, x0
	ldr	w0, [x23]
	mov	x1, x21
	bl	_setlocale
	mov	x0, x21
	bl	_free
	cbz	x20, LBB0_6
; %bb.2:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #24
	bl	_strstr
	mov	x20, x0
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #24
	bl	_strstr
	mov	x21, x0
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #24
	bl	_strstr
	cbz	x20, LBB0_6
; %bb.3:
	cbz	x21, LBB0_6
; %bb.4:
	cbz	x0, LBB0_6
; %bb.5:
Lloh17:
	adrp	x8, _DATEORDER_DMY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DATEORDER_DMY@GOTPAGEOFF]
	cmp	x21, x20
	csel	x8, x8, x22, lo
	cmp	x20, x21
	ccmp	x0, x20, #2, lo
Lloh19:
	adrp	x9, _DATEORDER_YMD@GOTPAGE
Lloh20:
	ldr	x9, [x9, _DATEORDER_YMD@GOTPAGEOFF]
	csel	x8, x9, x8, lo
	ldr	w19, [x8]
LBB0_6:
	ldur	x8, [x29, #-56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_DATEORDER_MDY,4,2              ; @DATEORDER_MDY
	.comm	_LC_TIME,4,2                    ; @LC_TIME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%x"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"33"

	.comm	_DATEORDER_YMD,4,2              ; @DATEORDER_YMD
	.comm	_DATEORDER_DMY,4,2              ; @DATEORDER_DMY
	.no_dead_strip	_locale_date_order
.subsections_via_symbols
