	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_mfw_get_tlv_time_value
_qed_mfw_get_tlv_time_value:            ## @qed_mfw_get_tlv_time_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$0, 24(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpl	$13, (%rdi)
	jge	LBB0_3
## %bb.4:
	cmpl	$32, 4(%rbx)
	jge	LBB0_5
LBB0_6:
	cmpl	$24, 8(%rbx)
	jge	LBB0_7
LBB0_8:
	cmpl	$60, 12(%rbx)
	jge	LBB0_9
LBB0_10:
	cmpl	$1000, 16(%rbx)                 ## imm = 0x3E8
	jge	LBB0_11
LBB0_12:
	cmpl	$1000, 20(%rbx)                 ## imm = 0x3E8
	jl	LBB0_14
LBB0_13:
	movl	$0, 20(%rbx)
LBB0_14:
	movl	(%r14), %edi
	movq	_QED_TLV_DATA_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movl	(%r14), %edi
	movl	(%rbx), %ecx
	movl	4(%rbx), %r8d
	movl	8(%rbx), %r9d
	movl	12(%rbx), %r10d
	movl	16(%rbx), %eax
	movl	20(%rbx), %ebx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movl	$14, %esi
	pushq	%rbx
	pushq	%rax
	pushq	%r10
	callq	_snprintf
	addq	$32, %rsp
	movl	(%r14), %eax
	movl	%eax, 4(%r14)
	movq	_QED_MFW_TLV_TIME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_1:
	movl	$-1, %eax
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movl	$0, (%rbx)
	cmpl	$32, 4(%rbx)
	jl	LBB0_6
LBB0_5:
	movl	$0, 4(%rbx)
	cmpl	$24, 8(%rbx)
	jl	LBB0_8
LBB0_7:
	movl	$0, 8(%rbx)
	cmpl	$60, 12(%rbx)
	jl	LBB0_10
LBB0_9:
	movl	$0, 8(%rbx)
	cmpl	$1000, 16(%rbx)                 ## imm = 0x3E8
	jl	LBB0_12
LBB0_11:
	movl	$0, 16(%rbx)
	cmpl	$1000, 20(%rbx)                 ## imm = 0x3E8
	jge	LBB0_13
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_TLV_DATA_MAX,4,2           ## @QED_TLV_DATA_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d%d%d%d%d%d"

	.comm	_QED_MFW_TLV_TIME_SIZE,4,2      ## @QED_MFW_TLV_TIME_SIZE
	.no_dead_strip	_qed_mfw_get_tlv_time_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_mfw_get_tlv_time_value
_qed_mfw_get_tlv_time_value:            ; @qed_mfw_get_tlv_time_value
	.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
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_14
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, #13
	b.lt	LBB0_3
; %bb.2:
	str	wzr, [x20]
LBB0_3:
	ldr	w8, [x20, #4]
	cmp	w8, #32
	b.lt	LBB0_5
; %bb.4:
	str	wzr, [x20, #4]
LBB0_5:
	ldr	w8, [x20, #8]
	cmp	w8, #24
	b.lt	LBB0_7
; %bb.6:
	str	wzr, [x20, #8]
LBB0_7:
	ldr	w8, [x20, #12]
	cmp	w8, #60
	b.lt	LBB0_9
; %bb.8:
	str	wzr, [x20, #8]
LBB0_9:
	ldr	w8, [x20, #16]
	cmp	w8, #1000
	b.lt	LBB0_11
; %bb.10:
	str	wzr, [x20, #16]
LBB0_11:
	ldr	w8, [x20, #20]
	cmp	w8, #1000
	b.lt	LBB0_13
; %bb.12:
	str	wzr, [x20, #20]
LBB0_13:
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _QED_TLV_DATA_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_TLV_DATA_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	ldr	w0, [x19]
	ldp	w3, w4, [x20]
	ldp	w5, w6, [x20, #8]
	ldp	w7, w8, [x20, #16]
	str	w8, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #14
	bl	_snprintf
	ldr	w8, [x19]
	str	w8, [x19, #4]
Lloh5:
	adrp	x8, _QED_MFW_TLV_TIME_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QED_MFW_TLV_TIME_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_14:
	mov	w0, #-1
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_TLV_DATA_MAX,4,2           ; @QED_TLV_DATA_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d%d%d%d%d%d"

	.comm	_QED_MFW_TLV_TIME_SIZE,4,2      ; @QED_MFW_TLV_TIME_SIZE
	.no_dead_strip	_qed_mfw_get_tlv_time_value
.subsections_via_symbols
