	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DVD_LowReadmem                 ## -- Begin function DVD_LowReadmem
	.p2align	4, 0x90
_DVD_LowReadmem:                        ## @DVD_LowReadmem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	___dvd_finalreadmemcb@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	movq	___dvd_usrdata@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	movq	___dvd_readmemcb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___dvd_callback@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	___dvd_stopnextint@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_DVD_FWREADMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	__diReg@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 8(%rcx)
	movl	%edi, 12(%rcx)
	movl	$65536, 16(%rcx)                ## imm = 0x10000
	movq	_DVD_DI_START@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rcx)
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___dvd_finalreadmemcb,4,2       ## @__dvd_finalreadmemcb
	.comm	___dvd_usrdata,8,3              ## @__dvd_usrdata
	.comm	___dvd_readmemcb,4,2            ## @__dvd_readmemcb
	.comm	___dvd_callback,4,2             ## @__dvd_callback
	.comm	___dvd_stopnextint,8,3          ## @__dvd_stopnextint
	.comm	_DVD_FWREADMEM,4,2              ## @DVD_FWREADMEM
	.comm	__diReg,8,3                     ## @_diReg
	.comm	_DVD_DI_START,4,2               ## @DVD_DI_START
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DVD_LowReadmem                 ; -- Begin function DVD_LowReadmem
	.p2align	2
_DVD_LowReadmem:                        ; @DVD_LowReadmem
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, ___dvd_finalreadmemcb@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___dvd_finalreadmemcb@GOTPAGEOFF]
Lloh2:
	str	w2, [x8]
Lloh3:
	adrp	x8, ___dvd_usrdata@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___dvd_usrdata@GOTPAGEOFF]
Lloh5:
	str	x1, [x8]
Lloh6:
	adrp	x8, ___dvd_readmemcb@GOTPAGE
Lloh7:
	ldr	x8, [x8, ___dvd_readmemcb@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, ___dvd_callback@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___dvd_callback@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
Lloh12:
	adrp	x8, ___dvd_stopnextint@GOTPAGE
Lloh13:
	ldr	x8, [x8, ___dvd_stopnextint@GOTPAGEOFF]
Lloh14:
	str	xzr, [x8]
Lloh15:
	adrp	x8, _DVD_FWREADMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DVD_FWREADMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, __diReg@GOTPAGE
Lloh19:
	ldr	x9, [x9, __diReg@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	stp	w8, w0, [x9, #8]
	mov	w8, #65536
	str	w8, [x9, #16]
Lloh21:
	adrp	x8, _DVD_DI_START@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DVD_DI_START@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x9, #28]
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	___dvd_finalreadmemcb,4,2       ; @__dvd_finalreadmemcb
	.comm	___dvd_usrdata,8,3              ; @__dvd_usrdata
	.comm	___dvd_readmemcb,4,2            ; @__dvd_readmemcb
	.comm	___dvd_callback,4,2             ; @__dvd_callback
	.comm	___dvd_stopnextint,8,3          ; @__dvd_stopnextint
	.comm	_DVD_FWREADMEM,4,2              ; @DVD_FWREADMEM
	.comm	__diReg,8,3                     ; @_diReg
	.comm	_DVD_DI_START,4,2               ; @DVD_DI_START
.subsections_via_symbols
