	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_supported_modes
_ql_supported_modes:                    ## @ql_supported_modes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rsi
	movq	_QL_LINK_OPTICAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_SUPPORTED_TP_MODES@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_SUPPORTED_OPTICAL_MODES@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QL_LINK_OPTICAL,4,2            ## @QL_LINK_OPTICAL
	.comm	_SUPPORTED_OPTICAL_MODES,4,2    ## @SUPPORTED_OPTICAL_MODES
	.comm	_SUPPORTED_TP_MODES,4,2         ## @SUPPORTED_TP_MODES
	.no_dead_strip	_ql_supported_modes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_supported_modes
_ql_supported_modes:                    ; @ql_supported_modes
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x1, x0
Lloh0:
	adrp	x8, _QL_LINK_OPTICAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QL_LINK_OPTICAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_test_bit
Lloh3:
	adrp	x8, _SUPPORTED_TP_MODES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SUPPORTED_TP_MODES@GOTPAGEOFF]
Lloh5:
	adrp	x9, _SUPPORTED_OPTICAL_MODES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SUPPORTED_OPTICAL_MODES@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QL_LINK_OPTICAL,4,2            ; @QL_LINK_OPTICAL
	.comm	_SUPPORTED_OPTICAL_MODES,4,2    ; @SUPPORTED_OPTICAL_MODES
	.comm	_SUPPORTED_TP_MODES,4,2         ; @SUPPORTED_TP_MODES
	.no_dead_strip	_ql_supported_modes
.subsections_via_symbols
