	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mode_show
_mode_show:                             ## @mode_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movl	(%rdi), %edi
	callq	_to_hid_device
	movq	%rax, %rdi
	callq	_hid_get_drvdata
	movq	(%rax), %rax
	movq	_GT683R_LED_NORMAL@GOTPCREL(%rip), %rdx
	movq	_GT683R_LED_AUDIO@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpq	(%rcx), %rax
	sete	%sil
	movl	$2, %edi
	subl	%esi, %edi
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	cmovnel	%edi, %ecx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_scnprintf                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GT683R_LED_NORMAL,8,3          ## @GT683R_LED_NORMAL
	.comm	_GT683R_LED_AUDIO,8,3           ## @GT683R_LED_AUDIO
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u\n"

	.no_dead_strip	_mode_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mode_show
_mode_show:                             ; @mode_show
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ldr	w0, [x0]
	bl	_to_hid_device
	bl	_hid_get_drvdata
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _GT683R_LED_NORMAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GT683R_LED_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _GT683R_LED_AUDIO@GOTPAGE
Lloh4:
	ldr	x10, [x10, _GT683R_LED_AUDIO@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x10
	mov	w10, #1
	cinc	w10, w10, ne
	cmp	x8, x9
	csel	w3, wzr, w10, eq
Lloh6:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_scnprintf
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GT683R_LED_NORMAL,8,3          ; @GT683R_LED_NORMAL
	.comm	_GT683R_LED_AUDIO,8,3           ; @GT683R_LED_AUDIO
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u\n"

	.no_dead_strip	_mode_show
.subsections_via_symbols
