	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gmtime                        ## -- Begin function _gmtime
	.p2align	4, 0x90
__gmtime:                               ## @_gmtime
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SECONDS_PER_MINUTE@GOTPCREL(%rip), %rcx
	movl	%edi, %eax
	cltd
	idivl	(%rcx)
	movl	%edx, (%rsi)
	movl	%edi, %eax
	cltd
	idivl	(%rcx)
	movq	_MINUTES_PER_HOUR@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%edx, 4(%rsi)
	movq	_HOURS_PER_DAY@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
                                        ## kill: def $eax killed $eax def $rax
	movl	%edx, 8(%rsi)
	leal	4(%rax), %ecx
	movslq	%ecx, %rcx
	imulq	$-1840700269, %rcx, %rcx        ## imm = 0x92492493
	shrq	$32, %rcx
	addl	%eax, %ecx
	addl	$4, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$2, %ecx
	addl	%edx, %ecx
	leal	(,%rcx,8), %edx
	subl	%edx, %ecx
	addl	%eax, %ecx
	addl	$4, %ecx
	movl	%ecx, 12(%rsi)
	movq	_EPOCH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movl	%r8d, 16(%rsi)
	movq	_sumofdays@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$5, %edi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, -20(%rcx,%rdi,4)
	jg	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%eax, -16(%rcx,%rdi,4)
	jg	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%eax, -12(%rcx,%rdi,4)
	jg	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%eax, -8(%rcx,%rdi,4)
	jg	LBB0_4
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%eax, -4(%rcx,%rdi,4)
	jg	LBB0_5
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%eax, (%rcx,%rdi,4)
	jg	LBB0_7
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	addq	$6, %rdi
	cmpq	$65, %rdi
	jne	LBB0_1
	jmp	LBB0_14
LBB0_2:
	addq	$-5, %rdi
	jmp	LBB0_7
LBB0_6:
	addq	$-4, %rdi
	jmp	LBB0_7
LBB0_3:
	addq	$-3, %rdi
	jmp	LBB0_7
LBB0_4:
	addq	$-2, %rdi
	jmp	LBB0_7
LBB0_5:
	decq	%rdi
LBB0_7:
	addl	%edi, %r8d
	decl	%r8d
	movl	%r8d, 16(%rsi)
	shlq	$32, %rdi
	movabsq	$-4294967296, %rdx              ## imm = 0xFFFFFFFF00000000
	addq	%rdi, %rdx
	sarq	$30, %rdx
	movl	(%rcx,%rdx), %ecx
	subl	%ecx, %eax
LBB0_14:
	movl	%eax, 20(%rsi)
	leaq	24(%rsi), %rcx
	testb	$3, %r8b
	je	LBB0_15
## %bb.31:
	movq	_monthdays@GOTPCREL(%rip), %rdx
	jmp	LBB0_16
LBB0_15:
	movq	_monthdays2@GOTPCREL(%rip), %rdx
LBB0_16:
	movq	(%rdx), %rdx
	movl	$0, (%rcx)
	movl	$-1, %edi
	cmpl	%eax, (%rdx)
	jg	LBB0_17
## %bb.18:
	movl	$1, (%rcx)
	xorl	%edi, %edi
	cmpl	%eax, 4(%rdx)
	jg	LBB0_17
## %bb.19:
	movl	$2, (%rcx)
	movl	$1, %edi
	cmpl	%eax, 8(%rdx)
	jg	LBB0_17
## %bb.20:
	movl	$3, (%rcx)
	movl	$2, %edi
	cmpl	%eax, 12(%rdx)
	jg	LBB0_17
## %bb.21:
	movl	$4, (%rcx)
	movl	$3, %edi
	cmpl	%eax, 16(%rdx)
	jg	LBB0_17
## %bb.22:
	movl	$5, (%rcx)
	movl	$4, %edi
	cmpl	%eax, 20(%rdx)
	jg	LBB0_17
## %bb.23:
	movl	$6, (%rcx)
	movl	$5, %edi
	cmpl	%eax, 24(%rdx)
	jg	LBB0_17
## %bb.24:
	movl	$7, (%rcx)
	movl	$6, %edi
	cmpl	%eax, 28(%rdx)
	jg	LBB0_17
## %bb.25:
	movl	$8, (%rcx)
	movl	$7, %edi
	cmpl	%eax, 32(%rdx)
	jg	LBB0_17
## %bb.26:
	movl	$9, (%rcx)
	movl	$8, %edi
	cmpl	%eax, 36(%rdx)
	jg	LBB0_17
## %bb.27:
	movl	$10, (%rcx)
	movl	$9, %edi
	cmpl	%eax, 40(%rdx)
	jg	LBB0_17
## %bb.28:
	movl	$11, (%rcx)
	movl	$10, %edi
	cmpl	%eax, 44(%rdx)
	jle	LBB0_29
LBB0_17:
	movl	%edi, (%rcx)
	movslq	%edi, %rcx
	subl	(%rdx,%rcx,4), %eax
LBB0_30:
	incl	%eax
	movl	%eax, 28(%rsi)
	movl	$-1, 32(%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_29:
	movl	$12, (%rcx)
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_SECONDS_PER_MINUTE,4,2         ## @SECONDS_PER_MINUTE
	.comm	_MINUTES_PER_HOUR,4,2           ## @MINUTES_PER_HOUR
	.comm	_HOURS_PER_DAY,4,2              ## @HOURS_PER_DAY
	.comm	_EPOCH,8,3                      ## @EPOCH
	.comm	_sumofdays,8,3                  ## @sumofdays
	.comm	_monthdays2,8,3                 ## @monthdays2
	.comm	_monthdays,8,3                  ## @monthdays
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gmtime                        ; -- Begin function _gmtime
	.p2align	2
__gmtime:                               ; @_gmtime
	.cfi_startproc
; %bb.0:
	mov	x9, #0
Lloh0:
	adrp	x8, _SECONDS_PER_MINUTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SECONDS_PER_MINUTE@GOTPAGEOFF]
	ldr	w10, [x8]
	sdiv	w11, w0, w10
	msub	w10, w11, w10, w0
	str	w10, [x1]
	ldr	w8, [x8]
Lloh2:
	adrp	x10, _MINUTES_PER_HOUR@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MINUTES_PER_HOUR@GOTPAGEOFF]
	sdiv	w8, w0, w8
Lloh4:
	ldr	w10, [x10]
	sdiv	w11, w8, w10
	msub	w10, w11, w10, w8
Lloh5:
	adrp	x8, _HOURS_PER_DAY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HOURS_PER_DAY@GOTPAGEOFF]
Lloh7:
	ldr	w12, [x8]
	sdiv	w8, w11, w12
	msub	w11, w8, w12, w11
	stp	w10, w11, [x1, #4]
	add	w10, w8, #4
	mov	w11, #9363
	movk	w11, #37449, lsl #16
	smull	x11, w10, w11
	lsr	x11, x11, #32
	add	w11, w11, w10
	asr	w12, w11, #2
	add	w11, w12, w11, lsr #31
	sub	w11, w11, w11, lsl #3
	add	w11, w10, w11
Lloh8:
	adrp	x10, _EPOCH@GOTPAGE
Lloh9:
	ldr	x10, [x10, _EPOCH@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	stp	w11, w10, [x1, #12]
Lloh11:
	adrp	x11, _sumofdays@GOTPAGE
Lloh12:
	ldr	x11, [x11, _sumofdays@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	mov	x12, #-4294967296
	mov	x13, #4294967296
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x11, x9, lsl #2]
	cmp	w14, w8
	b.gt	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x9, x9, #1
	add	x12, x12, x13
	cmp	x9, #60
	b.ne	LBB0_1
	b	LBB0_4
LBB0_3:
	add	w9, w10, w9
	sub	w10, w9, #1
	str	w10, [x1, #16]
	asr	x9, x12, #30
	ldr	w9, [x11, x9]
	sub	w8, w8, w9
LBB0_4:
	str	w8, [x1, #20]
	add	x9, x1, #24
	tst	w10, #0x3
	b.eq	LBB0_6
; %bb.5:
Lloh14:
	adrp	x10, _monthdays@GOTPAGE
Lloh15:
	ldr	x10, [x10, _monthdays@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh16:
	adrp	x10, _monthdays2@GOTPAGE
Lloh17:
	ldr	x10, [x10, _monthdays2@GOTPAGEOFF]
LBB0_7:
	ldr	x10, [x10]
	str	wzr, [x9]
	ldr	w11, [x10]
	cmp	w11, w8
	b.le	LBB0_9
; %bb.8:
	mov	w11, #-1
	b	LBB0_31
LBB0_9:
	mov	w11, #1
	str	w11, [x9]
	ldr	w11, [x10, #4]
	cmp	w11, w8
	b.le	LBB0_11
; %bb.10:
	mov	w11, #0
	b	LBB0_31
LBB0_11:
	mov	w11, #2
	str	w11, [x9]
	ldr	w11, [x10, #8]
	cmp	w11, w8
	b.le	LBB0_13
; %bb.12:
	mov	w11, #1
	b	LBB0_31
LBB0_13:
	mov	w11, #3
	str	w11, [x9]
	ldr	w11, [x10, #12]
	cmp	w11, w8
	b.le	LBB0_15
; %bb.14:
	mov	w11, #2
	b	LBB0_31
LBB0_15:
	mov	w11, #4
	str	w11, [x9]
	ldr	w11, [x10, #16]
	cmp	w11, w8
	b.le	LBB0_17
; %bb.16:
	mov	w11, #3
	b	LBB0_31
LBB0_17:
	mov	w11, #5
	str	w11, [x9]
	ldr	w11, [x10, #20]
	cmp	w11, w8
	b.le	LBB0_19
; %bb.18:
	mov	w11, #4
	b	LBB0_31
LBB0_19:
	mov	w11, #6
	str	w11, [x9]
	ldr	w11, [x10, #24]
	cmp	w11, w8
	b.le	LBB0_21
; %bb.20:
	mov	w11, #5
	b	LBB0_31
LBB0_21:
	mov	w11, #7
	str	w11, [x9]
	ldr	w11, [x10, #28]
	cmp	w11, w8
	b.le	LBB0_23
; %bb.22:
	mov	w11, #6
	b	LBB0_31
LBB0_23:
	mov	w11, #8
	str	w11, [x9]
	ldr	w11, [x10, #32]
	cmp	w11, w8
	b.le	LBB0_25
; %bb.24:
	mov	w11, #7
	b	LBB0_31
LBB0_25:
	mov	w11, #9
	str	w11, [x9]
	ldr	w11, [x10, #36]
	cmp	w11, w8
	b.le	LBB0_27
; %bb.26:
	mov	w11, #8
	b	LBB0_31
LBB0_27:
	mov	w11, #10
	str	w11, [x9]
	ldr	w11, [x10, #40]
	cmp	w11, w8
	b.le	LBB0_29
; %bb.28:
	mov	w11, #9
	b	LBB0_31
LBB0_29:
	mov	w11, #11
	str	w11, [x9]
	ldr	w11, [x10, #44]
	cmp	w11, w8
	b.le	LBB0_33
; %bb.30:
	mov	w11, #10
LBB0_31:
	str	w11, [x9]
	ldr	w9, [x10, w11, sxtw #2]
	sub	w8, w8, w9
LBB0_32:
	add	w8, w8, #1
	mov	w9, #-1
	stp	w8, w9, [x1, #28]
	mov	w0, #0
	ret
LBB0_33:
	mov	w10, #12
	str	w10, [x9]
	b	LBB0_32
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SECONDS_PER_MINUTE,4,2         ; @SECONDS_PER_MINUTE
	.comm	_MINUTES_PER_HOUR,4,2           ; @MINUTES_PER_HOUR
	.comm	_HOURS_PER_DAY,4,2              ; @HOURS_PER_DAY
	.comm	_EPOCH,8,3                      ; @EPOCH
	.comm	_sumofdays,8,3                  ; @sumofdays
	.comm	_monthdays2,8,3                 ; @monthdays2
	.comm	_monthdays,8,3                  ; @monthdays
.subsections_via_symbols
