	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _osd_init
__osd_init:                             ## @_osd_init
	.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
	movq	%rdi, %rbx
	movq	_OSD_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_osd_write
	movq	_OSD_VIDWINMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_osd_write
	movq	_OSD_OSDWIN0MD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_osd_write
	movq	_OSD_OSDWIN1MD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_osd_write
	movq	_OSD_RECTCUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_osd_write
	movq	_OSD_MISCCTL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_osd_write
	movq	(%rbx), %rax
	movq	_VPBE_VERSION_3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_OSD_VBNDRY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_osd_write
	movq	_OSD_EXTMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_osd_write
	movq	_OSD_MISCCTL_DMANG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_osd_write                      ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSD_MODE,4,2                   ## @OSD_MODE
	.comm	_OSD_VIDWINMD,4,2               ## @OSD_VIDWINMD
	.comm	_OSD_OSDWIN0MD,4,2              ## @OSD_OSDWIN0MD
	.comm	_OSD_OSDWIN1MD,4,2              ## @OSD_OSDWIN1MD
	.comm	_OSD_RECTCUR,4,2                ## @OSD_RECTCUR
	.comm	_OSD_MISCCTL,4,2                ## @OSD_MISCCTL
	.comm	_VPBE_VERSION_3,8,3             ## @VPBE_VERSION_3
	.comm	_OSD_VBNDRY,4,2                 ## @OSD_VBNDRY
	.comm	_OSD_EXTMODE,4,2                ## @OSD_EXTMODE
	.comm	_OSD_MISCCTL_DMANG,4,2          ## @OSD_MISCCTL_DMANG
	.no_dead_strip	__osd_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _osd_init
__osd_init:                             ; @_osd_init
	.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	x19, x0
Lloh0:
	adrp	x8, _OSD_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSD_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_osd_write
Lloh3:
	adrp	x8, _OSD_VIDWINMD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OSD_VIDWINMD@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_osd_write
Lloh6:
	adrp	x8, _OSD_OSDWIN0MD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OSD_OSDWIN0MD@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_osd_write
Lloh9:
	adrp	x8, _OSD_OSDWIN1MD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OSD_OSDWIN1MD@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_osd_write
Lloh12:
	adrp	x8, _OSD_RECTCUR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OSD_RECTCUR@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_osd_write
Lloh15:
	adrp	x20, _OSD_MISCCTL@GOTPAGE
Lloh16:
	ldr	x20, [x20, _OSD_MISCCTL@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #0
	bl	_osd_write
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _VPBE_VERSION_3@GOTPAGE
Lloh18:
	ldr	x9, [x9, _VPBE_VERSION_3@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh20:
	adrp	x8, _OSD_VBNDRY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OSD_VBNDRY@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_osd_write
Lloh23:
	adrp	x8, _OSD_EXTMODE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _OSD_EXTMODE@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_osd_write
Lloh26:
	adrp	x8, _OSD_MISCCTL_DMANG@GOTPAGE
Lloh27:
	ldr	x8, [x8, _OSD_MISCCTL_DMANG@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_osd_write
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_OSD_MODE,4,2                   ; @OSD_MODE
	.comm	_OSD_VIDWINMD,4,2               ; @OSD_VIDWINMD
	.comm	_OSD_OSDWIN0MD,4,2              ; @OSD_OSDWIN0MD
	.comm	_OSD_OSDWIN1MD,4,2              ; @OSD_OSDWIN1MD
	.comm	_OSD_RECTCUR,4,2                ; @OSD_RECTCUR
	.comm	_OSD_MISCCTL,4,2                ; @OSD_MISCCTL
	.comm	_VPBE_VERSION_3,8,3             ; @VPBE_VERSION_3
	.comm	_OSD_VBNDRY,4,2                 ; @OSD_VBNDRY
	.comm	_OSD_EXTMODE,4,2                ; @OSD_EXTMODE
	.comm	_OSD_MISCCTL_DMANG,4,2          ; @OSD_MISCCTL_DMANG
	.no_dead_strip	__osd_init
.subsections_via_symbols
