	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hb_video_encoder_is_enabled
_hb_video_encoder_is_enabled:           ## @hb_video_encoder_is_enabled
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	testl	%esi, %esi
	je	LBB0_1
## %bb.5:
	leal	-132(%rdi), %ecx
	cmpl	$12, %ecx
	ja	LBB0_9
## %bb.6:
	movl	$1, %eax
	movl	$6244, %edx                     ## imm = 0x1864
	btl	%ecx, %edx
	jae	LBB0_7
LBB0_10:
	popq	%rbp
	retq
LBB0_1:
	leal	-132(%rdi), %ecx
	cmpl	$12, %ecx
	ja	LBB0_9
## %bb.2:
	movl	$1, %eax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_hb_vt_h265_is_available        ## TAILCALL
LBB0_7:
	movl	$3, %eax
	btl	%ecx, %eax
	jae	LBB0_9
LBB0_8:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_hb_video_encoder_get_depth
	movl	%eax, %edi
	callq	_hb_x264_api_get
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_hb_vt_h264_is_available        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_HB_VCODEC_QSV_MASK,4,2         ## @HB_VCODEC_QSV_MASK
	.comm	_X265_BUILD,4,2                 ## @X265_BUILD
	.no_dead_strip	_hb_video_encoder_is_enabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hb_video_encoder_is_enabled
_hb_video_encoder_is_enabled:           ; @hb_video_encoder_is_enabled
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_4
; %bb.1:
	sub	w9, w0, #132
	cmp	w9, #12
	b.hi	LBB0_9
; %bb.2:
	mov	w8, #1
	lsl	w10, w8, w9
	mov	w11, #6244
	tst	w10, w11
	b.eq	LBB0_7
LBB0_3:
	mov	x0, x8
	ret
LBB0_4:
	sub	w9, w0, #132
	cmp	w9, #12
	b.hi	LBB0_9
; %bb.5:
	mov	w8, #1
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_6:
	b	_hb_vt_h265_is_available
LBB0_7:
	mov	w8, #1
	lsl	w8, w8, w9
	tst	w8, #0x3
	b.eq	LBB0_9
LBB0_8:
	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	_hb_video_encoder_get_depth
	bl	_hb_x264_api_get
	cmp	x0, #0
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_9:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	mov	w8, #0
	mov	x0, x8
	ret
LBB0_10:
	b	_hb_vt_h264_is_available
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
	.comm	_HB_VCODEC_QSV_MASK,4,2         ; @HB_VCODEC_QSV_MASK
	.comm	_X265_BUILD,4,2                 ; @X265_BUILD
	.no_dead_strip	_hb_video_encoder_is_enabled
.subsections_via_symbols
