	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sony_nc_gfx_switch_status_show
_sony_nc_gfx_switch_status_show:        ## @sony_nc_gfx_switch_status_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
	xorl	%eax, %eax
	callq	___sony_nc_gfx_switch_status_get
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_SPEED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_STAMINA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rcx
	jmp	LBB0_6
LBB0_5:
	movq	_AUTO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rcx
	cmoveq	%rax, %rcx
LBB0_6:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_SPEED,4,2                      ## @SPEED
L_.str.1:                               ## @.str.1
	.asciz	"speed"

	.comm	_STAMINA,4,2                    ## @STAMINA
L_.str.2:                               ## @.str.2
	.asciz	"stamina"

	.comm	_AUTO,4,2                       ## @AUTO
L_.str.3:                               ## @.str.3
	.asciz	"auto"

L_.str.4:                               ## @.str.4
	.asciz	"unknown"

	.no_dead_strip	_sony_nc_gfx_switch_status_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sony_nc_gfx_switch_status_show
_sony_nc_gfx_switch_status_show:        ; @sony_nc_gfx_switch_status_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
	bl	___sony_nc_gfx_switch_status_get
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SPEED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SPEED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
Lloh6:
	adrp	x3, l_.str.1@PAGE
Lloh7:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh8:
	adrp	x8, _STAMINA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STAMINA@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.5:
Lloh11:
	adrp	x3, l_.str.2@PAGE
Lloh12:
	add	x3, x3, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x8, _AUTO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AUTO@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, l_.str.4@PAGE
Lloh17:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh18:
	adrp	x10, l_.str.3@PAGE
Lloh19:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	w0, w8
	csel	x3, x10, x9, eq
LBB0_7:
Lloh20:
	adrp	x2, l_.str@PAGE
Lloh21:
	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	_snprintf
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_SPEED,4,2                      ; @SPEED
l_.str.1:                               ; @.str.1
	.asciz	"speed"

	.comm	_STAMINA,4,2                    ; @STAMINA
l_.str.2:                               ; @.str.2
	.asciz	"stamina"

	.comm	_AUTO,4,2                       ; @AUTO
l_.str.3:                               ; @.str.3
	.asciz	"auto"

l_.str.4:                               ; @.str.4
	.asciz	"unknown"

	.no_dead_strip	_sony_nc_gfx_switch_status_show
.subsections_via_symbols
