	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bd_edd_io
_bd_edd_io:                             ## @bd_edd_io
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, %rbx
	movl	%esi, %r13d
	movq	%rdi, %r15
	movl	$32, _bd_edd_io.packet(%rip)
	leaq	_bd_edd_io.packet(%rip), %r14
	movl	%edx, _bd_edd_io.packet+4(%rip)
	movq	%rcx, %rdi
	callq	_VTOPOFF
	movq	%rax, _bd_edd_io.packet+24(%rip)
	movq	%rbx, %rdi
	callq	_VTOPSEG
	movq	%rax, _bd_edd_io.packet+16(%rip)
	movl	%r13d, _bd_edd_io.packet+8(%rip)
	movq	_V86_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_v86@GOTPCREL(%rip), %rbx
	movl	%eax, 36(%rbx)
	movl	$19, (%rbx)
	movq	_BD_WR@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	%r12d, (%rax)
	sete	%cl
	orl	$66, %ecx
	shll	$8, %ecx
	movl	%ecx, 4(%rbx)
	movl	(%r15), %eax
	movl	%eax, 32(%rbx)
	movq	%r14, %rdi
	callq	_VTOPSEG
	movq	%rax, 24(%rbx)
	movq	%r14, %rdi
	callq	_VTOPOFF
	movq	%rax, 16(%rbx)
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_v86int
	movl	8(%rbx), %edi
	callq	_V86_CY
	movl	4(%rbx), %ecx
	sarl	$8, %ecx
	testq	%rax, %rax
	cmovel	%r14d, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_bd_edd_io.packet,32,3 ## @bd_edd_io.packet
	.comm	_V86_FLAGS,4,2                  ## @V86_FLAGS
	.comm	_v86,40,3                       ## @v86
	.comm	_BD_WR,4,2                      ## @BD_WR
	.no_dead_strip	_bd_edd_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bd_edd_io
_bd_edd_io:                             ; @bd_edd_io
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	mov	w8, #32
Lloh0:
	adrp	x23, _bd_edd_io.packet@PAGE
Lloh1:
	add	x23, x23, _bd_edd_io.packet@PAGEOFF
	stp	w8, w2, [x23]
	mov	x0, x3
	bl	_VTOPOFF
	str	x0, [x23, #24]
	mov	x0, x20
	bl	_VTOPSEG
	str	x0, [x23, #16]
	str	w21, [x23, #8]
Lloh2:
	adrp	x8, _V86_FLAGS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V86_FLAGS@GOTPAGEOFF]
Lloh4:
	adrp	x20, _v86@GOTPAGE
Lloh5:
	ldr	x20, [x20, _v86@GOTPAGEOFF]
Lloh6:
	adrp	x9, _BD_WR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BD_WR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	ldr	w9, [x9]
	mov	w10, #16896
	mov	w11, #17152
	cmp	w9, w19
	csel	w9, w11, w10, eq
	mov	w10, #19
	stp	w10, w9, [x20]
	ldr	w9, [x22]
	stp	w9, w8, [x20, #32]
	mov	x0, x23
	bl	_VTOPSEG
	str	x0, [x20, #24]
	mov	x0, x23
	bl	_VTOPOFF
	str	x0, [x20, #16]
	bl	_v86int
	ldr	w0, [x20, #8]
	bl	_V86_CY
	ldr	w8, [x20, #4]
	asr	w8, w8, #8
	cmp	x0, #0
	csel	w0, wzr, w8, eq
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh8
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_bd_edd_io.packet,32,3 ; @bd_edd_io.packet
	.comm	_V86_FLAGS,4,2                  ; @V86_FLAGS
	.comm	_v86,40,3                       ; @v86
	.comm	_BD_WR,4,2                      ; @BD_WR
	.no_dead_strip	_bd_edd_io
.subsections_via_symbols
