	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function controller_show
_controller_show:                       ## @controller_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	(%rsi), %r14
	testq	%r14, %r14
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movl	20(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	12(%r14), %edi
	movl	16(%r14), %r15d
	callq	_cardstate2str
	movl	%eax, %r12d
	movl	8(%r14), %r13d
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	movq	%r14, %rdi
	callq	*%rcx
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str.1(%rip), %rax
LBB0_4:
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	movl	%r13d, %r9d
	callq	_seq_printf
LBB0_5:
	xorl	%eax, %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	"%d %-10s %-8s %-16s %s\n"

L_.str.1:                               ## @.str.1
	.space	1

	.no_dead_strip	_controller_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function controller_show
_controller_show:                       ; @controller_show
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x24, [x1]
	cbz	x24, LBB0_5
; %bb.1:
	mov	x19, x0
	ldp	w21, w20, [x24, #16]
	ldr	w0, [x24, #12]
	bl	_cardstate2str
	mov	x22, x0
	ldr	w23, [x24, #8]
	ldr	x8, [x24]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x24
	blr	x8
	mov	x6, x0
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x6, l_.str.1@PAGE
Lloh1:
	add	x6, x6, l_.str.1@PAGEOFF
LBB0_4:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	mov	x5, x23
	bl	_seq_printf
LBB0_5:
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d %-10s %-8s %-16s %s\n"

l_.str.1:                               ; @.str.1
	.space	1

	.no_dead_strip	_controller_show
.subsections_via_symbols
