	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x509_parse_time                ## -- Begin function x509_parse_time
	.p2align	4, 0x90
_x509_parse_time:                       ## @x509_parse_time
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	(%rdi,%rsi), %r12
	cmpl	$129, %edx
	je	LBB0_6
## %bb.1:
	cmpl	$128, %edx
	jne	LBB0_18
## %bb.2:
	cmpq	$13, %r14
	jne	LBB0_19
## %bb.3:
	cmpl	$90, 48(%rbx)
	jne	LBB0_19
## %bb.4:
	movl	%r12d, %esi
	subl	%ebx, %esi
	movq	%rbx, %rdi
	callq	_parse_uint2
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_26
## %bb.5:
	leal	1900(%rax), %ecx
	leal	2000(%rax), %edx
	cmpl	$50, %eax
	cmovael	%ecx, %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	leaq	2(%rbx), %r13
	jmp	LBB0_10
LBB0_6:
	cmpq	$15, %r14
	jne	LBB0_20
## %bb.7:
	cmpl	$90, 56(%rbx)
	jne	LBB0_20
## %bb.8:
	movl	%r12d, %esi
	subl	%ebx, %esi
	movq	%rbx, %rdi
	callq	_parse_uint4
	testl	%eax, %eax
	js	LBB0_27
## %bb.9:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	4(%rbx), %r13
LBB0_10:
	movl	%r12d, %esi
	subl	%r13d, %esi
	movq	%r13, %rdi
	callq	_parse_uint2
	testl	%eax, %eax
	js	LBB0_25
## %bb.11:
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	leaq	2(%r13), %rdi
	movl	%r12d, %esi
	subl	%edi, %esi
	callq	_parse_uint2
	testl	%eax, %eax
	js	LBB0_29
## %bb.12:
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leaq	4(%r13), %rdi
	movl	%r12d, %esi
	subl	%edi, %esi
	callq	_parse_uint2
	testl	%eax, %eax
	js	LBB0_30
## %bb.13:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	6(%r13), %rdi
	movl	%r12d, %esi
	subl	%edi, %esi
	callq	_parse_uint2
	testl	%eax, %eax
	js	LBB0_31
## %bb.14:
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	addq	$8, %r13
	subl	%r13d, %r12d
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_parse_uint2
	testl	%eax, %eax
	js	LBB0_32
## %bb.15:
	movq	%r15, (%rsp)
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, %r9d
	callq	_os_mktime
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jns	LBB0_24
## %bb.16:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_wpa_hexdump_ascii
	movl	$-1, %eax
	cmpl	$1969, %r13d                    ## imm = 0x7B1
	ja	LBB0_24
## %bb.17:
	movl	(%r12), %edi
	leaq	L_.str.11(%rip), %rsi
	movl	%r13d, %edx
	callq	_wpa_printf
	movq	$0, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_18:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_23
LBB0_19:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_21
LBB0_20:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_21:
	movq	%rbx, %rdx
	movq	%r14, %rcx
LBB0_22:
	callq	_wpa_hexdump_ascii
LBB0_23:
	movl	$-1, %eax
LBB0_24:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_21
LBB0_26:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$13, %ecx
	jmp	LBB0_28
LBB0_27:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	$15, %ecx
LBB0_28:
	movq	%rbx, %rdx
	jmp	LBB0_22
LBB0_29:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_21
LBB0_30:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_21
LBB0_31:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_21
LBB0_32:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"X509: Unrecognized UTCTime format"

L_.str.1:                               ## @.str.1
	.asciz	"X509: Failed to parse UTCTime year"

L_.str.2:                               ## @.str.2
	.asciz	"X509: Unrecognized GeneralizedTime format"

L_.str.3:                               ## @.str.3
	.asciz	"X509: Failed to parse GeneralizedTime year"

L_.str.4:                               ## @.str.4
	.asciz	"X509: Expected UTCTime or GeneralizedTime - found tag 0x%x"

L_.str.5:                               ## @.str.5
	.asciz	"X509: Failed to parse Time (month)"

L_.str.6:                               ## @.str.6
	.asciz	"X509: Failed to parse Time (day)"

L_.str.7:                               ## @.str.7
	.asciz	"X509: Failed to parse Time (hour)"

L_.str.8:                               ## @.str.8
	.asciz	"X509: Failed to parse Time (min)"

L_.str.9:                               ## @.str.9
	.asciz	"X509: Failed to parse Time (sec)"

L_.str.10:                              ## @.str.10
	.asciz	"X509: Failed to convert Time"

L_.str.11:                              ## @.str.11
	.asciz	"X509: Year=%d before epoch - assume epoch as the time"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x509_parse_time                ; -- Begin function x509_parse_time
	.p2align	2
_x509_parse_time:                       ; @x509_parse_time
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x20, x1
	mov	x19, x0
	add	x28, x0, x1
	cmp	w2, #129
	b.eq	LBB0_6
; %bb.1:
	cmp	w2, #128
	b.ne	LBB0_17
; %bb.2:
	cmp	x20, #13
	b.ne	LBB0_18
; %bb.3:
	ldr	w8, [x19, #48]
	cmp	w8, #90
	b.ne	LBB0_18
; %bb.4:
	sub	w1, w28, w19
	mov	x0, x19
	bl	_parse_uint2
	tbnz	w0, #31, LBB0_25
; %bb.5:
	mov	w8, #1900
	mov	w9, #2000
	cmp	w0, #50
	csel	w8, w9, w8, lo
	add	w22, w8, w0
	add	x23, x19, #2
	b	LBB0_10
LBB0_6:
	cmp	x20, #15
	b.ne	LBB0_19
; %bb.7:
	ldr	w8, [x19, #56]
	cmp	w8, #90
	b.ne	LBB0_19
; %bb.8:
	sub	w1, w28, w19
	mov	x0, x19
	bl	_parse_uint4
	tbnz	w0, #31, LBB0_26
; %bb.9:
	mov	x22, x0
	add	x23, x19, #4
LBB0_10:
	sub	w1, w28, w23
	mov	x0, x23
	bl	_parse_uint2
	tbnz	w0, #31, LBB0_24
; %bb.11:
	mov	x24, x0
	add	x0, x23, #2
	sub	w1, w28, w0
	bl	_parse_uint2
	tbnz	w0, #31, LBB0_27
; %bb.12:
	mov	x25, x0
	add	x0, x23, #4
	sub	w1, w28, w0
	bl	_parse_uint2
	tbnz	w0, #31, LBB0_28
; %bb.13:
	mov	x26, x0
	add	x0, x23, #6
	sub	w1, w28, w0
	bl	_parse_uint2
	tbnz	w0, #31, LBB0_29
; %bb.14:
	mov	x27, x0
	add	x0, x23, #8
	sub	w1, w28, w0
	bl	_parse_uint2
	tbnz	w0, #31, LBB0_30
; %bb.15:
	mov	x5, x0
	mov	x0, x22
	mov	x1, x24
	mov	x2, x25
	mov	x3, x26
	mov	x4, x27
	mov	x6, x21
	bl	_os_mktime
	tbnz	x0, #63, LBB0_31
; %bb.16:
	mov	w0, #0
	b	LBB0_23
LBB0_17:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str.4@PAGE
Lloh4:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	b	LBB0_22
LBB0_18:
Lloh5:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_20
LBB0_19:
Lloh10:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_20:
	mov	x2, x19
	mov	x3, x20
LBB0_21:
	bl	_wpa_hexdump_ascii
LBB0_22:
	mov	w0, #-1
LBB0_23:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_24:
Lloh15:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_20
LBB0_25:
Lloh20:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	mov	w3, #13
	b	LBB0_21
LBB0_26:
Lloh25:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x19
	mov	w3, #15
	b	LBB0_21
LBB0_27:
Lloh30:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x1, l_.str.6@PAGE
Lloh34:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_20
LBB0_28:
Lloh35:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x1, l_.str.7@PAGE
Lloh39:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_20
LBB0_29:
Lloh40:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
Lloh43:
	adrp	x1, l_.str.8@PAGE
Lloh44:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_20
LBB0_30:
Lloh45:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
Lloh48:
	adrp	x1, l_.str.9@PAGE
Lloh49:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_20
LBB0_31:
Lloh50:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh51:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh52:
	adrp	x1, l_.str.10@PAGE
Lloh53:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x2, x19
	mov	x3, x20
	bl	_wpa_hexdump_ascii
	cmp	w22, #1969
	b.hi	LBB0_22
; %bb.32:
	ldr	w0, [x23]
Lloh54:
	adrp	x1, l_.str.11@PAGE
Lloh55:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x2, x22
	bl	_wpa_printf
	mov	w0, #0
	str	xzr, [x21]
	b	LBB0_23
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"X509: Unrecognized UTCTime format"

l_.str.1:                               ; @.str.1
	.asciz	"X509: Failed to parse UTCTime year"

l_.str.2:                               ; @.str.2
	.asciz	"X509: Unrecognized GeneralizedTime format"

l_.str.3:                               ; @.str.3
	.asciz	"X509: Failed to parse GeneralizedTime year"

l_.str.4:                               ; @.str.4
	.asciz	"X509: Expected UTCTime or GeneralizedTime - found tag 0x%x"

l_.str.5:                               ; @.str.5
	.asciz	"X509: Failed to parse Time (month)"

l_.str.6:                               ; @.str.6
	.asciz	"X509: Failed to parse Time (day)"

l_.str.7:                               ; @.str.7
	.asciz	"X509: Failed to parse Time (hour)"

l_.str.8:                               ; @.str.8
	.asciz	"X509: Failed to parse Time (min)"

l_.str.9:                               ; @.str.9
	.asciz	"X509: Failed to parse Time (sec)"

l_.str.10:                              ; @.str.10
	.asciz	"X509: Failed to convert Time"

l_.str.11:                              ; @.str.11
	.asciz	"X509: Year=%d before epoch - assume epoch as the time"

.subsections_via_symbols
