	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OSDIsVisible                   ## -- Begin function OSDIsVisible
	.p2align	4, 0x90
_OSDIsVisible:                          ## @OSDIsVisible
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$-1, %eax
	testl	%edi, %edi
	js	LBB0_3
## %bb.1:
	movq	_OSDMSG_COUNT@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jle	LBB0_3
## %bb.2:
	movq	_osdmessages@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%edi, %edx
	movl	$1, %eax
	subl	(%rcx,%rdx,4), %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSDMSG_COUNT,4,2               ## @OSDMSG_COUNT
	.comm	_osdmessages,8,3                ## @osdmessages
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OSDIsVisible                   ; -- Begin function OSDIsVisible
	.p2align	2
_OSDIsVisible:                          ; @OSDIsVisible
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #-1
	tbnz	w8, #31, LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _OSDMSG_COUNT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OSDMSG_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w8
	b.le	LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, _osdmessages@GOTPAGE
Lloh4:
	ldr	x9, [x9, _osdmessages@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w8, [x9, w8, uxtw #2]
	mov	w9, #1
	sub	w0, w9, w8
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_OSDMSG_COUNT,4,2               ; @OSDMSG_COUNT
	.comm	_osdmessages,8,3                ; @osdmessages
.subsections_via_symbols
