	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axp20x_show_attr
_axp20x_show_attr:                      ## @axp20x_show_attr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %ebx
	movq	%rsi, %r15
	callq	_dev_get_drvdata
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_AXP20X_PEK_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movl	-28(%rbp), %edx
	andl	%ebx, %edx
	bsfl	%ebx, %eax
	xorl	%ecx, %ecx
	cmpl	$1, %ebx
	sbbl	%ecx, %ecx
	orb	%al, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %edx
	movl	%edx, -28(%rbp)
	cmpl	(%r15), %edx
	je	LBB0_2
## %bb.3:
	cmpl	8(%r15), %edx
	je	LBB0_4
LBB0_5:
	cmpl	16(%r15), %edx
	je	LBB0_6
LBB0_7:
	cmpl	24(%r15), %edx
	jne	LBB0_9
LBB0_8:
	movl	28(%r15), %edx
	movl	%edx, -28(%rbp)
LBB0_9:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_sprintf
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	4(%r15), %edx
	movl	%edx, -28(%rbp)
	cmpl	8(%r15), %edx
	jne	LBB0_5
LBB0_4:
	movl	12(%r15), %edx
	movl	%edx, -28(%rbp)
	cmpl	16(%r15), %edx
	jne	LBB0_7
LBB0_6:
	movl	20(%r15), %edx
	movl	%edx, -28(%rbp)
	cmpl	24(%r15), %edx
	je	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_AXP20X_PEK_KEY,4,2             ## @AXP20X_PEK_KEY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u\n"

	.no_dead_strip	_axp20x_show_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axp20x_show_attr
_axp20x_show_attr:                      ; @axp20x_show_attr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	bl	_dev_get_drvdata
	ldr	x8, [x0]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _AXP20X_PEK_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AXP20X_PEK_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	cbnz	w0, LBB0_10
; %bb.1:
	ldr	w8, [sp, #12]
	and	w8, w8, w21
	rbit	w9, w21
	clz	w9, w9
	cmp	w21, #0
	csinv	w9, w9, wzr, ne
	lsr	w2, w8, w9
	str	w2, [sp, #12]
	ldr	w8, [x20]
	cmp	w2, w8
	b.ne	LBB0_3
; %bb.2:
	ldr	w2, [x20, #4]
	str	w2, [sp, #12]
LBB0_3:
	ldr	w8, [x20, #8]
	cmp	w2, w8
	b.ne	LBB0_5
; %bb.4:
	ldr	w2, [x20, #12]
	str	w2, [sp, #12]
LBB0_5:
	ldr	w8, [x20, #16]
	cmp	w2, w8
	b.ne	LBB0_7
; %bb.6:
	ldr	w2, [x20, #20]
	str	w2, [sp, #12]
LBB0_7:
	ldr	w8, [x20, #24]
	cmp	w2, w8
	b.ne	LBB0_9
; %bb.8:
	ldr	w2, [x20, #28]
	str	w2, [sp, #12]
LBB0_9:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AXP20X_PEK_KEY,4,2             ; @AXP20X_PEK_KEY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u\n"

	.no_dead_strip	_axp20x_show_attr
.subsections_via_symbols
