	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ivtv_set_osd_alpha             ## -- Begin function ivtv_set_osd_alpha
	.p2align	4, 0x90
_ivtv_set_osd_alpha:                    ## @ivtv_set_osd_alpha
	.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	%rdi, %rbx
	movq	_CX2341X_OSD_SET_GLOBAL_ALPHA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%rdi), %r8d
	movl	16(%rdi), %ecx
	xorl	%r9d, %r9d
	cmpl	$0, 8(%rdi)
	sete	%r9b
	movl	$3, %edx
	xorl	%eax, %eax
	callq	_ivtv_vapi
	movq	_CX2341X_OSD_SET_CHROMA_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	movq	%rbx, %rdi
	movl	$2, %edx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ivtv_vapi                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CX2341X_OSD_SET_GLOBAL_ALPHA,4,2 ## @CX2341X_OSD_SET_GLOBAL_ALPHA
	.comm	_CX2341X_OSD_SET_CHROMA_KEY,4,2 ## @CX2341X_OSD_SET_CHROMA_KEY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ivtv_set_osd_alpha             ; -- Begin function ivtv_set_osd_alpha
	.p2align	2
_ivtv_set_osd_alpha:                    ; @ivtv_set_osd_alpha
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _CX2341X_OSD_SET_GLOBAL_ALPHA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CX2341X_OSD_SET_GLOBAL_ALPHA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldp	w4, w3, [x0, #12]
	ldr	w8, [x0, #8]
	cmp	w8, #0
	cset	w8, eq
	str	x8, [sp]
	mov	w2, #3
	bl	_ivtv_vapi
Lloh3:
	adrp	x8, _CX2341X_OSD_SET_CHROMA_KEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CX2341X_OSD_SET_CHROMA_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldp	w4, w3, [x19]
	mov	x0, x19
	mov	w2, #2
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_ivtv_vapi
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CX2341X_OSD_SET_GLOBAL_ALPHA,4,2 ; @CX2341X_OSD_SET_GLOBAL_ALPHA
	.comm	_CX2341X_OSD_SET_CHROMA_KEY,4,2 ; @CX2341X_OSD_SET_CHROMA_KEY
.subsections_via_symbols
