	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cros_usbpd_print_log_entry
_cros_usbpd_print_log_entry:            ## @cros_usbpd_print_log_entry
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	(%r12), %esi
	movq	_PD_LOG_TIMESTAMP_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	movl	%ebx, %edi
	callq	_ktime_sub_us
	leaq	-120(%rbp), %rdi
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	callq	_rtc_ktime_to_tm
	movl	-120(%rbp), %esi
	movl	-116(%rbp), %r8d
	movl	-112(%rbp), %ebx
	movl	-108(%rbp), %r15d
	movq	-104(%rbp), %rdx
	movq	-96(%rbp), %r14
	movl	4(%r12), %ecx
	leal	-128(%rcx), %eax
	cmpl	$4, %eax
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	movl	%r8d, -84(%rbp)                 ## 4-byte Spill
	movl	%ebx, -80(%rbp)                 ## 4-byte Spill
	movl	%r15d, -76(%rbp)                ## 4-byte Spill
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	ja	LBB0_26
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_24:
	cmpl	$1, 8(%r12)
	leaq	L_.str.11(%rip), %rax
	leaq	L_.str.12(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.10(%rip), %rdx
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_append_str
	movq	%r13, %r15
	jmp	LBB0_30
LBB0_26:
	movl	8(%r12), %r8d
	leaq	L_.str.15(%rip), %rdx
	movq	%r12, %rbx
	movq	%r13, %r15
	movq	%r13, %rdi
	xorl	%esi, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_append_str
	movl	%eax, %r13d
	movl	12(%r12), %edi
	callq	_PD_LOG_SIZE
	testl	%eax, %eax
	jle	LBB0_29
## %bb.27:
	leaq	L_.str.16(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movl	(%rax,%rbx,4), %ecx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_append_str
	addl	%eax, %r13d
	incq	%rbx
	movl	12(%r12), %edi
	callq	_PD_LOG_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_28
LBB0_29:
	leaq	L_.str.17(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_append_str
	jmp	LBB0_30
LBB0_25:
	movq	16(%r12), %r14
	movl	28(%r14), %edi
	callq	_MCDP_FAMILY
	movq	%r13, %r15
	movl	%eax, %ebx
	movl	24(%r14), %edi
	callq	_MCDP_CHIPID
	leaq	L_.str.13(%rip), %rdx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_append_str
	movl	20(%r14), %ecx
	movl	16(%r14), %r8d
	movl	12(%r14), %r9d
	movl	8(%r14), %r10d
	movl	(%r14), %r11d
	movl	4(%r14), %ebx
	subq	$8, %rsp
	leaq	L_.str.14(%rip), %rdx
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	pushq	%r11
	pushq	%rbx
	pushq	%r10
	callq	_append_str
	addq	$32, %rsp
	jmp	LBB0_30
LBB0_20:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	8(%r12), %ebx
	movq	_fault_names@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	jge	LBB0_21
## %bb.22:
	movq	(%r14), %rax
	movslq	8(%r12), %rcx
	movq	(%rax,%rcx,8), %rcx
	jmp	LBB0_23
LBB0_2:
	movl	8(%r12), %r14d
	movq	_CHARGE_FLAGS_OVERRIDE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_append_str
	movl	%eax, %ebx
	movl	8(%r12), %r14d
	jmp	LBB0_5
LBB0_18:
	leaq	L_.str.8(%rip), %rdx
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_append_str
	movq	%r13, %r15
	jmp	LBB0_30
LBB0_21:
	leaq	L_.str.3(%rip), %rcx
LBB0_23:
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	leaq	L_.str.9(%rip), %rdx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_append_str
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_31
LBB0_3:
	xorl	%ebx, %ebx
LBB0_5:
	movq	_CHARGE_FLAGS_DELAYED_OVERRIDE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_6
## %bb.7:
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_append_str
	addl	%eax, %ebx
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	movl	8(%r12), %r14d
	jmp	LBB0_8
LBB0_6:
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
LBB0_8:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	_CHARGE_FLAGS_ROLE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	movq	_role_names@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	movq	%r13, %r12
	cmpl	%eax, %r14d
	jge	LBB0_9
## %bb.10:
	movslq	%r14d, %rax
	movq	(%rbx), %rcx
	movq	(%rcx,%rax,8), %r15
	jmp	LBB0_11
LBB0_9:
	leaq	L_.str.2(%rip), %r15
LBB0_11:
	movq	_CHARGE_FLAGS_TYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	andl	8(%rax), %ebx
	movq	_CHARGE_FLAGS_TYPE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	movq	_chg_type_names@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	jge	LBB0_12
## %bb.13:
	movq	(%r13), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %r9
	jmp	LBB0_14
LBB0_12:
	leaq	L_.str.3(%rip), %r9
LBB0_14:
	movq	%r12, %rbx
	movq	_USB_PD_PORT_POWER_DISCONNECTED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_16
## %bb.15:
	movq	_USB_PD_PORT_POWER_SOURCE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_16
## %bb.17:
	movq	_CHARGE_FLAGS_DUAL_ROLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	andl	8(%r12), %eax
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.6(%rip), %r8
	cmoveq	%rax, %r8
	movq	16(%r12), %rax
	movl	8(%rax), %r10d
	movl	(%rax), %r14d
	movl	4(%rax), %r11d
	subq	$8, %rsp
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movq	%r15, %rcx
	xorl	%eax, %eax
	pushq	%r14
	pushq	%r11
	pushq	%r10
	callq	_append_str
	addq	$32, %rsp
	movq	%rbx, %r15
	jmp	LBB0_30
LBB0_16:
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_append_str
	movq	%rbx, %r15
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_30:
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
LBB0_31:
	movl	%ebx, %edi
	callq	_ktime_to_ms
	movq	_MSEC_PER_SEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-120(%rbp), %rdx
	movl	%eax, %edi
	callq	_div_s64_rem
	movq	-128(%rbp), %r14                ## 8-byte Reload
	addq	$1900, %r14                     ## imm = 0x76C
	movq	-136(%rbp), %r13                ## 8-byte Reload
	incq	%r13
	movl	-120(%rbp), %ebx
	movl	12(%r12), %edi
	callq	_PD_LOG_PORT
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str.18(%rip), %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	movl	-80(%rbp), %r8d                 ## 4-byte Reload
	movl	-84(%rbp), %r9d                 ## 4-byte Reload
	pushq	%r15
	pushq	%rax
	pushq	%rbx
	pushq	-144(%rbp)                      ## 8-byte Folded Reload
	callq	_pr_info
	addq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_33
## %bb.32:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_24
	.long	L0_0_set_25
	.long	L0_0_set_20
	.long	L0_0_set_2
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_BUF_SIZE,4,2                   ## @BUF_SIZE
	.comm	_PD_LOG_TIMESTAMP_SHIFT,4,2     ## @PD_LOG_TIMESTAMP_SHIFT
	.comm	_CHARGE_FLAGS_OVERRIDE,4,2      ## @CHARGE_FLAGS_OVERRIDE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"override "

	.comm	_CHARGE_FLAGS_DELAYED_OVERRIDE,4,2 ## @CHARGE_FLAGS_DELAYED_OVERRIDE
L_.str.1:                               ## @.str.1
	.asciz	"pending_override "

	.comm	_CHARGE_FLAGS_ROLE_MASK,4,2     ## @CHARGE_FLAGS_ROLE_MASK
	.comm	_role_names,8,3                 ## @role_names
L_.str.2:                               ## @.str.2
	.asciz	"Unknown"

	.comm	_CHARGE_FLAGS_TYPE_MASK,4,2     ## @CHARGE_FLAGS_TYPE_MASK
	.comm	_CHARGE_FLAGS_TYPE_SHIFT,4,2    ## @CHARGE_FLAGS_TYPE_SHIFT
	.comm	_chg_type_names,8,3             ## @chg_type_names
L_.str.3:                               ## @.str.3
	.asciz	"???"

	.comm	_USB_PD_PORT_POWER_DISCONNECTED,4,2 ## @USB_PD_PORT_POWER_DISCONNECTED
	.comm	_USB_PD_PORT_POWER_SOURCE,4,2   ## @USB_PD_PORT_POWER_SOURCE
L_.str.4:                               ## @.str.4
	.asciz	"%s"

L_.str.5:                               ## @.str.5
	.asciz	"%s %s %s %dmV max %dmV / %dmA"

	.comm	_CHARGE_FLAGS_DUAL_ROLE,4,2     ## @CHARGE_FLAGS_DUAL_ROLE
L_.str.6:                               ## @.str.6
	.asciz	"DRP"

L_.str.7:                               ## @.str.7
	.asciz	"Charger"

L_.str.8:                               ## @.str.8
	.asciz	"RW signature check failed"

	.comm	_fault_names,8,3                ## @fault_names
L_.str.9:                               ## @.str.9
	.asciz	"Power supply fault: %s"

L_.str.10:                              ## @.str.10
	.asciz	"DP mode %sabled"

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

L_.str.12:                              ## @.str.12
	.asciz	"dis"

L_.str.13:                              ## @.str.13
	.asciz	"HDMI info: family:%04x chipid:%04x "

L_.str.14:                              ## @.str.14
	.asciz	"irom:%d.%d.%d fw:%d.%d.%d"

L_.str.15:                              ## @.str.15
	.asciz	"Event %02x (%04x) ["

L_.str.16:                              ## @.str.16
	.asciz	"%02x "

L_.str.17:                              ## @.str.17
	.asciz	"]"

	.comm	_MSEC_PER_SEC,4,2               ## @MSEC_PER_SEC
L_.str.18:                              ## @.str.18
	.asciz	"PDLOG %d/%02d/%02d %02d:%02d:%02d.%03d P%d %s\n"

	.no_dead_strip	_cros_usbpd_print_log_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cros_usbpd_print_log_entry
_cros_usbpd_print_log_entry:            ; @cros_usbpd_print_log_entry
	.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
	sub	sp, sp, #80
	mov	x12, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _BUF_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUF_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w8, [x0]
Lloh8:
	adrp	x9, _PD_LOG_TIMESTAMP_SHIFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PD_LOG_TIMESTAMP_SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	lsl	w1, w8, w9
	mov	x0, x12
	bl	_ktime_sub_us
	mov	x25, x0
	sub	x8, x29, #120
	bl	_rtc_ktime_to_tm
	ldp	w22, w23, [x29, #-120]
	ldp	w24, w28, [x29, #-112]
	ldp	x26, x21, [x29, #-104]
	ldr	w8, [x19, #4]
	sub	w9, w8, #128
	cmp	w9, #4
	b.hi	LBB0_3
; %bb.1:
Lloh11:
	adrp	x8, lJTI0_0@PAGE
Lloh12:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x19, #8]
Lloh13:
	adrp	x9, l_.str.12@PAGE
Lloh14:
	add	x9, x9, l_.str.12@PAGEOFF
Lloh15:
	adrp	x10, l_.str.11@PAGE
Lloh16:
	add	x10, x10, l_.str.11@PAGEOFF
	cmp	w8, #1
	csel	x8, x10, x9, eq
	str	x8, [sp, #-16]!
Lloh17:
	adrp	x2, l_.str.10@PAGE
Lloh18:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	b	LBB0_30
LBB0_3:
	stur	x26, [x29, #-136]               ; 8-byte Folded Spill
	stur	w22, [x29, #-124]               ; 4-byte Folded Spill
	ldr	w9, [x19, #8]
	stp	x8, x9, [sp, #-16]!
Lloh19:
	adrp	x2, l_.str.15@PAGE
Lloh20:
	add	x2, x2, l_.str.15@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	bl	_append_str
	add	sp, sp, #16
	mov	x26, x0
	ldr	w0, [x19, #12]
	bl	_PD_LOG_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x22, #0
Lloh21:
	adrp	x27, l_.str.16@PAGE
Lloh22:
	add	x27, x27, l_.str.16@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x22, lsl #2]
	str	x8, [sp, #-16]!
	mov	x0, x20
	mov	x1, x26
	mov	x2, x27
	bl	_append_str
	add	sp, sp, #16
	add	w26, w0, w26
	add	x22, x22, #1
	ldr	w0, [x19, #12]
	bl	_PD_LOG_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_5
LBB0_6:
Lloh23:
	adrp	x2, l_.str.17@PAGE
Lloh24:
	add	x2, x2, l_.str.17@PAGEOFF
	mov	x0, x20
	mov	x1, x26
	bl	_append_str
	ldur	w22, [x29, #-124]               ; 4-byte Folded Reload
	ldur	x26, [x29, #-136]               ; 8-byte Folded Reload
	b	LBB0_31
LBB0_7:
	stur	w22, [x29, #-124]               ; 4-byte Folded Spill
	ldr	x22, [x19, #16]
	ldr	w0, [x22, #28]
	bl	_MCDP_FAMILY
	mov	x27, x21
	mov	x21, x26
	mov	x26, x0
	ldr	w0, [x22, #24]
	bl	_MCDP_CHIPID
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x0, [sp, #-16]!
	mov	x26, x21
	mov	x21, x27
Lloh25:
	adrp	x2, l_.str.13@PAGE
Lloh26:
	add	x2, x2, l_.str.13@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	bl	_append_str
	add	sp, sp, #16
	mov	x1, x0
	ldp	w9, w8, [x22, #16]
	ldp	w11, w10, [x22, #8]
	ldp	w13, w12, [x22]
	ldur	w22, [x29, #-124]               ; 4-byte Folded Reload
	sub	sp, sp, #48
	stp	x12, x13, [sp, #32]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh27:
	adrp	x2, l_.str.14@PAGE
Lloh28:
	add	x2, x2, l_.str.14@PAGEOFF
	mov	x0, x20
	b	LBB0_28
LBB0_8:
	stur	x21, [x29, #-136]               ; 8-byte Folded Spill
	mov	x21, x26
	mov	x27, x22
	ldr	w26, [x19, #8]
Lloh29:
	adrp	x22, _fault_names@GOTPAGE
Lloh30:
	ldr	x22, [x22, _fault_names@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w26, w0
	b.ge	LBB0_13
; %bb.9:
	ldr	x8, [x22]
	ldrsw	x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	b	LBB0_14
LBB0_10:
	ldr	w8, [x19, #8]
Lloh31:
	adrp	x9, _CHARGE_FLAGS_OVERRIDE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _CHARGE_FLAGS_OVERRIDE@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.11:
Lloh34:
	adrp	x2, l_.str@PAGE
Lloh35:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	bl	_append_str
	mov	x27, x0
	ldr	w8, [x19, #8]
	b	LBB0_16
LBB0_12:
Lloh36:
	adrp	x2, l_.str.8@PAGE
Lloh37:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	bl	_append_str
	b	LBB0_31
LBB0_13:
Lloh38:
	adrp	x8, l_.str.3@PAGE
Lloh39:
	add	x8, x8, l_.str.3@PAGEOFF
LBB0_14:
	mov	x22, x27
	mov	x26, x21
	str	x8, [sp, #-16]!
Lloh40:
	adrp	x2, l_.str.9@PAGE
Lloh41:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	bl	_append_str
	add	sp, sp, #16
	ldur	x21, [x29, #-136]               ; 8-byte Folded Reload
	b	LBB0_31
LBB0_15:
	mov	w27, #0
LBB0_16:
Lloh42:
	adrp	x9, _CHARGE_FLAGS_DELAYED_OVERRIDE@GOTPAGE
Lloh43:
	ldr	x9, [x9, _CHARGE_FLAGS_DELAYED_OVERRIDE@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	tst	w9, w8
	stur	w22, [x29, #-124]               ; 4-byte Folded Spill
	b.eq	LBB0_18
; %bb.17:
Lloh45:
	adrp	x2, l_.str.1@PAGE
Lloh46:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x27
	bl	_append_str
	add	w27, w0, w27
	stur	w27, [x29, #-140]               ; 4-byte Folded Spill
	ldr	w8, [x19, #8]
	b	LBB0_19
LBB0_18:
	stur	w27, [x29, #-140]               ; 4-byte Folded Spill
LBB0_19:
	stur	x21, [x29, #-136]               ; 8-byte Folded Spill
Lloh47:
	adrp	x9, _CHARGE_FLAGS_ROLE_MASK@GOTPAGE
Lloh48:
	ldr	x9, [x9, _CHARGE_FLAGS_ROLE_MASK@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	and	w27, w9, w8
Lloh50:
	adrp	x22, _role_names@GOTPAGE
Lloh51:
	ldr	x22, [x22, _role_names@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	mov	x21, x26
	cmp	w27, w0
	b.ge	LBB0_21
; %bb.20:
	ldr	x8, [x22]
	ldr	x8, [x8, w27, sxtw #3]
	b	LBB0_22
LBB0_21:
Lloh52:
	adrp	x8, l_.str.2@PAGE
Lloh53:
	add	x8, x8, l_.str.2@PAGEOFF
LBB0_22:
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
	ldr	w8, [x19, #8]
Lloh54:
	adrp	x9, _CHARGE_FLAGS_TYPE_MASK@GOTPAGE
Lloh55:
	ldr	x9, [x9, _CHARGE_FLAGS_TYPE_MASK@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
Lloh57:
	adrp	x10, _CHARGE_FLAGS_TYPE_SHIFT@GOTPAGE
Lloh58:
	ldr	x10, [x10, _CHARGE_FLAGS_TYPE_SHIFT@GOTPAGEOFF]
	and	w8, w9, w8
Lloh59:
	ldr	w9, [x10]
	asr	w22, w8, w9
Lloh60:
	adrp	x26, _chg_type_names@GOTPAGE
Lloh61:
	ldr	x26, [x26, _chg_type_names@GOTPAGEOFF]
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	cmp	w22, w0
	b.ge	LBB0_24
; %bb.23:
	ldr	x8, [x26]
	ldr	x8, [x8, w22, sxtw #3]
	b	LBB0_25
LBB0_24:
Lloh62:
	adrp	x8, l_.str.3@PAGE
Lloh63:
	add	x8, x8, l_.str.3@PAGEOFF
LBB0_25:
	ldur	w22, [x29, #-124]               ; 4-byte Folded Reload
	mov	x26, x21
Lloh64:
	adrp	x9, _USB_PD_PORT_POWER_DISCONNECTED@GOTPAGE
Lloh65:
	ldr	x9, [x9, _USB_PD_PORT_POWER_DISCONNECTED@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	cmp	w27, w9
	ldur	x21, [x29, #-136]               ; 8-byte Folded Reload
	b.eq	LBB0_29
; %bb.26:
Lloh67:
	adrp	x9, _USB_PD_PORT_POWER_SOURCE@GOTPAGE
Lloh68:
	ldr	x9, [x9, _USB_PD_PORT_POWER_SOURCE@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	cmp	w27, w9
	b.eq	LBB0_29
; %bb.27:
	ldr	x9, [x19, #16]
	ldr	w10, [x19, #8]
Lloh70:
	adrp	x11, _CHARGE_FLAGS_DUAL_ROLE@GOTPAGE
Lloh71:
	ldr	x11, [x11, _CHARGE_FLAGS_DUAL_ROLE@GOTPAGEOFF]
Lloh72:
	adrp	x12, l_.str.6@PAGE
Lloh73:
	add	x12, x12, l_.str.6@PAGEOFF
Lloh74:
	adrp	x13, l_.str.7@PAGE
Lloh75:
	add	x13, x13, l_.str.7@PAGEOFF
Lloh76:
	ldr	w11, [x11]
	tst	w11, w10
	csel	x10, x13, x12, eq
	ldp	w12, w11, [x9, #4]
	ldr	w9, [x9]
	sub	sp, sp, #48
	stp	x12, x9, [sp, #32]
	stp	x8, x11, [sp, #16]
	str	x10, [sp, #8]
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	str	x8, [sp]
Lloh77:
	adrp	x2, l_.str.5@PAGE
Lloh78:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x20
	ldur	w1, [x29, #-140]                ; 4-byte Folded Reload
LBB0_28:
	bl	_append_str
	add	sp, sp, #48
	b	LBB0_31
LBB0_29:
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	str	x8, [sp, #-16]!
Lloh79:
	adrp	x2, l_.str.4@PAGE
Lloh80:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	ldur	w1, [x29, #-140]                ; 4-byte Folded Reload
LBB0_30:
	bl	_append_str
	add	sp, sp, #16
LBB0_31:
	mov	x0, x25
	bl	_ktime_to_ms
Lloh81:
	adrp	x8, _MSEC_PER_SEC@GOTPAGE
Lloh82:
	ldr	x8, [x8, _MSEC_PER_SEC@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
	sub	x2, x29, #120
	bl	_div_s64_rem
	add	x25, x21, #1900
	add	x26, x26, #1
	ldur	w27, [x29, #-120]
	ldr	w0, [x19, #12]
	bl	_PD_LOG_PORT
	sub	sp, sp, #16
	str	x20, [sp, #8]
	str	w0, [sp]
Lloh84:
	adrp	x0, l_.str.18@PAGE
Lloh85:
	add	x0, x0, l_.str.18@PAGEOFF
	mov	x1, x25
	mov	x2, x26
	mov	x3, x28
	mov	x4, x24
	mov	x5, x23
	mov	x6, x22
	mov	x7, x27
	bl	_pr_info
	add	sp, sp, #16
	ldur	x8, [x29, #-88]
Lloh86:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh87:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh88:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.32:
	sub	sp, x29, #80
	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_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh76
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.comm	_BUF_SIZE,4,2                   ; @BUF_SIZE
	.comm	_PD_LOG_TIMESTAMP_SHIFT,4,2     ; @PD_LOG_TIMESTAMP_SHIFT
	.comm	_CHARGE_FLAGS_OVERRIDE,4,2      ; @CHARGE_FLAGS_OVERRIDE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"override "

	.comm	_CHARGE_FLAGS_DELAYED_OVERRIDE,4,2 ; @CHARGE_FLAGS_DELAYED_OVERRIDE
l_.str.1:                               ; @.str.1
	.asciz	"pending_override "

	.comm	_CHARGE_FLAGS_ROLE_MASK,4,2     ; @CHARGE_FLAGS_ROLE_MASK
	.comm	_role_names,8,3                 ; @role_names
l_.str.2:                               ; @.str.2
	.asciz	"Unknown"

	.comm	_CHARGE_FLAGS_TYPE_MASK,4,2     ; @CHARGE_FLAGS_TYPE_MASK
	.comm	_CHARGE_FLAGS_TYPE_SHIFT,4,2    ; @CHARGE_FLAGS_TYPE_SHIFT
	.comm	_chg_type_names,8,3             ; @chg_type_names
l_.str.3:                               ; @.str.3
	.asciz	"???"

	.comm	_USB_PD_PORT_POWER_DISCONNECTED,4,2 ; @USB_PD_PORT_POWER_DISCONNECTED
	.comm	_USB_PD_PORT_POWER_SOURCE,4,2   ; @USB_PD_PORT_POWER_SOURCE
l_.str.4:                               ; @.str.4
	.asciz	"%s"

l_.str.5:                               ; @.str.5
	.asciz	"%s %s %s %dmV max %dmV / %dmA"

	.comm	_CHARGE_FLAGS_DUAL_ROLE,4,2     ; @CHARGE_FLAGS_DUAL_ROLE
l_.str.6:                               ; @.str.6
	.asciz	"DRP"

l_.str.7:                               ; @.str.7
	.asciz	"Charger"

l_.str.8:                               ; @.str.8
	.asciz	"RW signature check failed"

	.comm	_fault_names,8,3                ; @fault_names
l_.str.9:                               ; @.str.9
	.asciz	"Power supply fault: %s"

l_.str.10:                              ; @.str.10
	.asciz	"DP mode %sabled"

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

l_.str.12:                              ; @.str.12
	.asciz	"dis"

l_.str.13:                              ; @.str.13
	.asciz	"HDMI info: family:%04x chipid:%04x "

l_.str.14:                              ; @.str.14
	.asciz	"irom:%d.%d.%d fw:%d.%d.%d"

l_.str.15:                              ; @.str.15
	.asciz	"Event %02x (%04x) ["

l_.str.16:                              ; @.str.16
	.asciz	"%02x "

l_.str.17:                              ; @.str.17
	.asciz	"]"

	.comm	_MSEC_PER_SEC,4,2               ; @MSEC_PER_SEC
l_.str.18:                              ; @.str.18
	.asciz	"PDLOG %d/%02d/%02d %02d:%02d:%02d.%03d P%d %s\n"

	.no_dead_strip	_cros_usbpd_print_log_entry
.subsections_via_symbols
