	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function state_show
_state_show:                            ## @state_show
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	callq	_dev_get_drvdata
	movq	%rax, %r12
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	jle	LBB0_2
## %bb.4:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_extcon_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r12), %rcx
	movq	(%rcx,%r13,8), %rcx
	movq	(%rax,%rcx,8), %r14
	movl	4(%r12), %r15d
	movl	%r13d, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	testl	%r15d, %eax
	setne	%cl
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %ebx
	incq	%r13
	movslq	(%r12), %rax
	cmpq	%rax, %r13
	jl	LBB0_5
	jmp	LBB0_6
LBB0_3:
	movl	4(%r12), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
LBB0_2:
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s=%d\n"

	.comm	_extcon_info,8,3                ## @extcon_info
	.no_dead_strip	_state_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function state_show
_state_show:                            ; @state_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x2
	bl	_dev_get_drvdata
	mov	x20, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x22, #0
	mov	w21, #0
Lloh0:
	adrp	x25, _extcon_info@GOTPAGE
Lloh1:
	ldr	x25, [x25, _extcon_info@GOTPAGEOFF]
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x24, x19, w21, sxtw
	ldr	x8, [x25]
	ldr	x9, [x20, #8]
	ldr	x9, [x9, x22, lsl #3]
	ldr	x26, [x8, x9, lsl #3]
	ldr	w27, [x20, #4]
	mov	x0, x22
	bl	_BIT
	tst	w0, w27
	cset	w8, ne
	stp	x26, x8, [sp]
	mov	x0, x24
	mov	x1, x23
	bl	_sprintf
	add	w21, w0, w21
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.lt	LBB0_3
	b	LBB0_6
LBB0_4:
	ldr	w8, [x20, #4]
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	b	LBB0_7
LBB0_5:
	mov	w21, #0
LBB0_6:
	mov	x0, x21
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s=%d\n"

	.comm	_extcon_info,8,3                ; @extcon_info
	.no_dead_strip	_state_show
.subsections_via_symbols
