	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _osd_set_rec601_attenuation
__osd_set_rec601_attenuation:           ## @_osd_set_rec601_attenuation
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rdi, %r14
	cmpl	$128, %esi
	je	LBB0_9
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_13
## %bb.2:
	movq	_OSD_OSDWIN0MD_ATN0E@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	testl	%ebx, %ebx
	movl	%esi, %edx
	cmovel	%ebx, %edx
	movq	_OSD_OSDWIN0MD@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%r14, %rdi
	callq	_osd_modify
	movl	(%r14), %eax
	movq	_VPBE_VERSION_1@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
## %bb.5:
	movq	_VPBE_VERSION_3@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.6:
	movq	_VPBE_VERSION_2@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
LBB0_7:
	testl	%ebx, %ebx
	movq	_OSD_EXTMODE_ATNOSD0EN@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_9:
	movq	_OSD_OSDWIN1MD_ATN1E@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	testl	%ebx, %ebx
	movl	%esi, %edx
	cmovel	%ebx, %edx
	movq	_OSD_OSDWIN1MD@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%r14, %rdi
	callq	_osd_modify
	movl	(%r14), %eax
	movq	_VPBE_VERSION_1@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
LBB0_3:
	testl	%ebx, %ebx
	movl	(%r15), %esi
	cmovnel	%esi, %ebx
	movl	(%r12), %ecx
	jmp	LBB0_4
LBB0_10:
	movq	_VPBE_VERSION_3@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
## %bb.11:
	movq	_VPBE_VERSION_2@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	testl	%ebx, %ebx
	movq	_OSD_EXTMODE_ATNOSD1EN@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
	cmovnel	%esi, %ebx
	movq	_OSD_EXTMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_4:
	movq	%r14, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_osd_modify                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OSD_OSDWIN0MD_ATN0E,4,2        ## @OSD_OSDWIN0MD_ATN0E
	.comm	_OSD_OSDWIN0MD,4,2              ## @OSD_OSDWIN0MD
	.comm	_VPBE_VERSION_1,4,2             ## @VPBE_VERSION_1
	.comm	_VPBE_VERSION_3,4,2             ## @VPBE_VERSION_3
	.comm	_VPBE_VERSION_2,4,2             ## @VPBE_VERSION_2
	.comm	_OSD_EXTMODE_ATNOSD0EN,4,2      ## @OSD_EXTMODE_ATNOSD0EN
	.comm	_OSD_EXTMODE,4,2                ## @OSD_EXTMODE
	.comm	_OSD_OSDWIN1MD_ATN1E,4,2        ## @OSD_OSDWIN1MD_ATN1E
	.comm	_OSD_OSDWIN1MD,4,2              ## @OSD_OSDWIN1MD
	.comm	_OSD_EXTMODE_ATNOSD1EN,4,2      ## @OSD_EXTMODE_ATNOSD1EN
	.no_dead_strip	__osd_set_rec601_attenuation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _osd_set_rec601_attenuation
__osd_set_rec601_attenuation:           ; @_osd_set_rec601_attenuation
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x19, x0
	cmp	w1, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_11
; %bb.2:
Lloh0:
	adrp	x21, _OSD_OSDWIN0MD_ATN0E@GOTPAGE
Lloh1:
	ldr	x21, [x21, _OSD_OSDWIN0MD_ATN0E@GOTPAGEOFF]
	ldr	w1, [x21]
	cmp	w20, #0
	csel	w2, wzr, w1, eq
Lloh2:
	adrp	x22, _OSD_OSDWIN0MD@GOTPAGE
Lloh3:
	ldr	x22, [x22, _OSD_OSDWIN0MD@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x19
	bl	_osd_modify
	ldr	w8, [x19]
Lloh4:
	adrp	x9, _VPBE_VERSION_1@GOTPAGE
Lloh5:
	ldr	x9, [x9, _VPBE_VERSION_1@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.3:
Lloh7:
	adrp	x9, _VPBE_VERSION_3@GOTPAGE
Lloh8:
	ldr	x9, [x9, _VPBE_VERSION_3@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _VPBE_VERSION_2@GOTPAGE
Lloh11:
	ldr	x10, [x10, _VPBE_VERSION_2@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_11
; %bb.4:
Lloh13:
	adrp	x8, _OSD_EXTMODE_ATNOSD0EN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _OSD_EXTMODE_ATNOSD0EN@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh15:
	adrp	x21, _OSD_OSDWIN1MD_ATN1E@GOTPAGE
Lloh16:
	ldr	x21, [x21, _OSD_OSDWIN1MD_ATN1E@GOTPAGEOFF]
	ldr	w1, [x21]
	cmp	w20, #0
	csel	w2, wzr, w1, eq
Lloh17:
	adrp	x22, _OSD_OSDWIN1MD@GOTPAGE
Lloh18:
	ldr	x22, [x22, _OSD_OSDWIN1MD@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x19
	bl	_osd_modify
	ldr	w8, [x19]
Lloh19:
	adrp	x9, _VPBE_VERSION_1@GOTPAGE
Lloh20:
	ldr	x9, [x9, _VPBE_VERSION_1@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
LBB0_6:
	ldr	w1, [x21]
	cmp	w20, #0
	csel	w2, wzr, w1, eq
	ldr	w3, [x22]
	b	LBB0_10
LBB0_7:
Lloh22:
	adrp	x9, _VPBE_VERSION_3@GOTPAGE
Lloh23:
	ldr	x9, [x9, _VPBE_VERSION_3@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
Lloh25:
	adrp	x10, _VPBE_VERSION_2@GOTPAGE
Lloh26:
	ldr	x10, [x10, _VPBE_VERSION_2@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_11
; %bb.8:
Lloh28:
	adrp	x8, _OSD_EXTMODE_ATNOSD1EN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _OSD_EXTMODE_ATNOSD1EN@GOTPAGEOFF]
LBB0_9:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _OSD_EXTMODE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _OSD_EXTMODE@GOTPAGEOFF]
	cmp	w20, #0
	csel	w2, wzr, w1, eq
Lloh32:
	ldr	w3, [x8]
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_osd_modify
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_OSD_OSDWIN0MD_ATN0E,4,2        ; @OSD_OSDWIN0MD_ATN0E
	.comm	_OSD_OSDWIN0MD,4,2              ; @OSD_OSDWIN0MD
	.comm	_VPBE_VERSION_1,4,2             ; @VPBE_VERSION_1
	.comm	_VPBE_VERSION_3,4,2             ; @VPBE_VERSION_3
	.comm	_VPBE_VERSION_2,4,2             ; @VPBE_VERSION_2
	.comm	_OSD_EXTMODE_ATNOSD0EN,4,2      ; @OSD_EXTMODE_ATNOSD0EN
	.comm	_OSD_EXTMODE,4,2                ; @OSD_EXTMODE
	.comm	_OSD_OSDWIN1MD_ATN1E,4,2        ; @OSD_OSDWIN1MD_ATN1E
	.comm	_OSD_OSDWIN1MD,4,2              ; @OSD_OSDWIN1MD
	.comm	_OSD_EXTMODE_ATNOSD1EN,4,2      ; @OSD_EXTMODE_ATNOSD1EN
	.no_dead_strip	__osd_set_rec601_attenuation
.subsections_via_symbols
