	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _osd_enable_rgb888_pixblend
__osd_enable_rgb888_pixblend:           ## @_osd_enable_rgb888_pixblend
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_OSD_MISCCTL_BLDSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OSD_MISCCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	callq	_osd_modify
	cmpl	$128, %ebx
	je	LBB0_4
## %bb.1:
	cmpl	$129, %ebx
	jne	LBB0_5
## %bb.2:
	movq	_OSD_EXTMODE_OSD0BLDCHR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_OSD_EXTMODE_OSD1BLDCHR@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	_OSD_EXTMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%edx, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_osd_modify                     ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSD_MISCCTL_BLDSEL,4,2         ## @OSD_MISCCTL_BLDSEL
	.comm	_OSD_MISCCTL,4,2                ## @OSD_MISCCTL
	.comm	_OSD_EXTMODE_OSD0BLDCHR,4,2     ## @OSD_EXTMODE_OSD0BLDCHR
	.comm	_OSD_EXTMODE,4,2                ## @OSD_EXTMODE
	.comm	_OSD_EXTMODE_OSD1BLDCHR,4,2     ## @OSD_EXTMODE_OSD1BLDCHR
	.no_dead_strip	__osd_enable_rgb888_pixblend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _osd_enable_rgb888_pixblend
__osd_enable_rgb888_pixblend:           ; @_osd_enable_rgb888_pixblend
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _OSD_MISCCTL_BLDSEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSD_MISCCTL_BLDSEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _OSD_MISCCTL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OSD_MISCCTL@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	w2, #0
	bl	_osd_modify
	cmp	w20, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w20, #129
	b.ne	LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _OSD_EXTMODE_OSD0BLDCHR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OSD_EXTMODE_OSD0BLDCHR@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _OSD_EXTMODE_OSD1BLDCHR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OSD_EXTMODE_OSD1BLDCHR@GOTPAGEOFF]
LBB0_4:
Lloh10:
	adrp	x9, _OSD_EXTMODE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _OSD_EXTMODE@GOTPAGEOFF]
	ldr	w1, [x8]
Lloh12:
	ldr	w3, [x9]
	mov	x0, x19
	mov	x2, x1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_osd_modify
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_OSD_MISCCTL_BLDSEL,4,2         ; @OSD_MISCCTL_BLDSEL
	.comm	_OSD_MISCCTL,4,2                ; @OSD_MISCCTL
	.comm	_OSD_EXTMODE_OSD0BLDCHR,4,2     ; @OSD_EXTMODE_OSD0BLDCHR
	.comm	_OSD_EXTMODE,4,2                ; @OSD_EXTMODE
	.comm	_OSD_EXTMODE_OSD1BLDCHR,4,2     ; @OSD_EXTMODE_OSD1BLDCHR
	.no_dead_strip	__osd_enable_rgb888_pixblend
.subsections_via_symbols
