	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _osd_enable_layer
__osd_enable_layer:                     ## @_osd_enable_layer
	.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 $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_8
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	movq	_OSD_VIDWINMD_ACT1@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_8:
	popq	%rbp
	retq
LBB0_3:
	movq	_OSD_VIDWINMD_ACT0@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	movq	_OSD_VIDWINMD@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	movq	_OSD_OSDWIN1MD_OASW@GOTPCREL(%rip), %rax
	movq	_OSD_OSDWIN1MD_OACT1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%rax), %esi
	orl	%edx, %esi
	movq	_OSD_OSDWIN1MD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	popq	%rbp
	jmp	_osd_modify                     ## TAILCALL
LBB0_2:
	movq	_OSD_OSDWIN0MD_OACT0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OSD_OSDWIN0MD@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	popq	%rbp
	jmp	_osd_set                        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_OSD_OSDWIN0MD_OACT0,4,2        ## @OSD_OSDWIN0MD_OACT0
	.comm	_OSD_OSDWIN0MD,4,2              ## @OSD_OSDWIN0MD
	.comm	_OSD_VIDWINMD_ACT0,4,2          ## @OSD_VIDWINMD_ACT0
	.comm	_OSD_VIDWINMD,4,2               ## @OSD_VIDWINMD
	.comm	_OSD_OSDWIN1MD_OASW,4,2         ## @OSD_OSDWIN1MD_OASW
	.comm	_OSD_OSDWIN1MD_OACT1,4,2        ## @OSD_OSDWIN1MD_OACT1
	.comm	_OSD_OSDWIN1MD,4,2              ## @OSD_OSDWIN1MD
	.comm	_OSD_VIDWINMD_ACT1,4,2          ## @OSD_VIDWINMD_ACT1
	.no_dead_strip	__osd_enable_layer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _osd_enable_layer
__osd_enable_layer:                     ; @_osd_enable_layer
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _OSD_VIDWINMD_ACT1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OSD_VIDWINMD_ACT1@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	ret
LBB0_4:
Lloh4:
	adrp	x8, _OSD_VIDWINMD_ACT0@GOTPAGE
Lloh5:
	ldr	x8, [x8, _OSD_VIDWINMD_ACT0@GOTPAGEOFF]
LBB0_5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _OSD_VIDWINMD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OSD_VIDWINMD@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	b	_osd_set
LBB0_6:
Lloh9:
	adrp	x8, _OSD_OSDWIN1MD_OASW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OSD_OSDWIN1MD_OASW@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _OSD_OSDWIN1MD_OACT1@GOTPAGE
Lloh13:
	ldr	x9, [x9, _OSD_OSDWIN1MD_OACT1@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x9]
Lloh15:
	adrp	x9, _OSD_OSDWIN1MD@GOTPAGE
Lloh16:
	ldr	x9, [x9, _OSD_OSDWIN1MD@GOTPAGEOFF]
	orr	w1, w2, w8
Lloh17:
	ldr	w3, [x9]
	b	_osd_modify
LBB0_7:
Lloh18:
	adrp	x8, _OSD_OSDWIN0MD_OACT0@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OSD_OSDWIN0MD_OACT0@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _OSD_OSDWIN0MD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _OSD_OSDWIN0MD@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	b	_osd_set
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_OSD_OSDWIN0MD_OACT0,4,2        ; @OSD_OSDWIN0MD_OACT0
	.comm	_OSD_OSDWIN0MD,4,2              ; @OSD_OSDWIN0MD
	.comm	_OSD_VIDWINMD_ACT0,4,2          ; @OSD_VIDWINMD_ACT0
	.comm	_OSD_VIDWINMD,4,2               ; @OSD_VIDWINMD
	.comm	_OSD_OSDWIN1MD_OASW,4,2         ; @OSD_OSDWIN1MD_OASW
	.comm	_OSD_OSDWIN1MD_OACT1,4,2        ; @OSD_OSDWIN1MD_OACT1
	.comm	_OSD_OSDWIN1MD,4,2              ; @OSD_OSDWIN1MD
	.comm	_OSD_VIDWINMD_ACT1,4,2          ; @OSD_VIDWINMD_ACT1
	.no_dead_strip	__osd_enable_layer
.subsections_via_symbols
