	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_check_nvenc_available       ## -- Begin function hb_check_nvenc_available
	.p2align	4, 0x90
_hb_check_nvenc_available:              ## @hb_check_nvenc_available
	.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
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_is_hardware_disabled
	movq	_isAvailable@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	$-1, %ecx
	cmovel	%ebx, %ecx
	testq	%rax, %rax
	cmovnel	%ebx, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_isAvailable,4,2                ## @isAvailable
	.comm	_NVENCAPI_MAJOR_VERSION,4,2     ## @NVENCAPI_MAJOR_VERSION
	.comm	_NVENCAPI_MINOR_VERSION,4,2     ## @NVENCAPI_MINOR_VERSION
	.comm	_NV_ENC_SUCCESS,8,3             ## @NV_ENC_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_check_nvenc_available       ; -- Begin function hb_check_nvenc_available
	.p2align	2
_hb_check_nvenc_available:              ; @hb_check_nvenc_available
	.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
	bl	_is_hardware_disabled
Lloh0:
	adrp	x8, _isAvailable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _isAvailable@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w8, #1
	csel	w8, wzr, w8, eq
	cmp	x0, #0
	csel	w0, w8, wzr, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_isAvailable,4,2                ; @isAvailable
	.comm	_NVENCAPI_MAJOR_VERSION,4,2     ; @NVENCAPI_MAJOR_VERSION
	.comm	_NVENCAPI_MINOR_VERSION,4,2     ; @NVENCAPI_MINOR_VERSION
	.comm	_NV_ENC_SUCCESS,8,3             ; @NV_ENC_SUCCESS
.subsections_via_symbols
