	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_req_params
_setup_req_params:                      ## @setup_req_params
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ReqBlock@GOTPCREL(%rip), %rax
	movq	_ReqCnt@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdi
	movl	(%rax), %ecx
	addl	%edi, %ecx
	movq	_UDT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	%ecx, %eax
	cltd
	idivl	(%rsi)
	movq	_ReqTrack@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movl	(%rsi), %esi
	imull	%eax, %esi
	subl	%esi, %ecx
	incl	%ecx
	movq	_ReqSector@GOTPCREL(%rip), %rsi
	movl	%ecx, (%rsi)
	movl	%eax, %ecx
	andl	$1, %ecx
	movq	_ReqSide@GOTPCREL(%rip), %rsi
	movl	%ecx, (%rsi)
	sarl	%eax
	movl	%eax, (%rdx)
	movq	_ReqBuffer@GOTPCREL(%rip), %rax
	shlq	$9, %rdi
	addq	(%rax), %rdi
	movq	_ReqData@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	_UseTrackbuffer@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_ReqCmd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_READ@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	movq	_fd_request@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	sete	%al
LBB0_3:
	movq	_read_track@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	jmp	_DPRINT                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ReqBlock,4,2                   ## @ReqBlock
	.comm	_ReqCnt,4,2                     ## @ReqCnt
	.comm	_UDT,8,3                        ## @UDT
	.comm	_ReqTrack,4,2                   ## @ReqTrack
	.comm	_ReqSector,4,2                  ## @ReqSector
	.comm	_ReqSide,4,2                    ## @ReqSide
	.comm	_ReqBuffer,8,3                  ## @ReqBuffer
	.comm	_ReqData,8,3                    ## @ReqData
	.comm	_UseTrackbuffer,8,3             ## @UseTrackbuffer
	.comm	_ReqCmd,8,3                     ## @ReqCmd
	.comm	_READ,8,3                       ## @READ
	.comm	_fd_request,8,3                 ## @fd_request
	.comm	_read_track,4,2                 ## @read_track
	.no_dead_strip	_setup_req_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_req_params
_setup_req_params:                      ; @setup_req_params
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ReqBlock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ReqBlock@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ReqCnt@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ReqCnt@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	add	w8, w9, w8
Lloh6:
	adrp	x10, _UDT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _UDT@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	ldr	w11, [x10]
Lloh9:
	adrp	x12, _ReqTrack@GOTPAGE
Lloh10:
	ldr	x12, [x12, _ReqTrack@GOTPAGEOFF]
	sdiv	w11, w8, w11
	str	w11, [x12]
	ldr	w10, [x10]
	msub	w8, w10, w11, w8
Lloh11:
	adrp	x10, _ReqSector@GOTPAGE
Lloh12:
	ldr	x10, [x10, _ReqSector@GOTPAGEOFF]
	add	w8, w8, #1
Lloh13:
	str	w8, [x10]
	and	w8, w11, #0x1
Lloh14:
	adrp	x10, _ReqSide@GOTPAGE
Lloh15:
	ldr	x10, [x10, _ReqSide@GOTPAGEOFF]
Lloh16:
	str	w8, [x10]
	asr	w8, w11, #1
	str	w8, [x12]
Lloh17:
	adrp	x8, _ReqBuffer@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ReqBuffer@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	add	x0, x8, x9, lsl #9
Lloh20:
	adrp	x8, _ReqData@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ReqData@GOTPAGEOFF]
Lloh22:
	str	x0, [x8]
Lloh23:
	adrp	x8, _UseTrackbuffer@GOTPAGE
Lloh24:
	ldr	x8, [x8, _UseTrackbuffer@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh26:
	adrp	x8, _ReqCmd@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ReqCmd@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
Lloh29:
	adrp	x9, _READ@GOTPAGE
Lloh30:
	ldr	x9, [x9, _READ@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh32:
	adrp	x8, _fd_request@GOTPAGE
Lloh33:
	ldr	x8, [x8, _fd_request@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w8, eq
	b	LBB0_4
LBB0_3:
	mov	w8, #0
LBB0_4:
Lloh35:
	adrp	x9, _read_track@GOTPAGE
Lloh36:
	ldr	x9, [x9, _read_track@GOTPAGEOFF]
Lloh37:
	str	w8, [x9]
	b	_DPRINT
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotStr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_ReqBlock,4,2                   ; @ReqBlock
	.comm	_ReqCnt,4,2                     ; @ReqCnt
	.comm	_UDT,8,3                        ; @UDT
	.comm	_ReqTrack,4,2                   ; @ReqTrack
	.comm	_ReqSector,4,2                  ; @ReqSector
	.comm	_ReqSide,4,2                    ; @ReqSide
	.comm	_ReqBuffer,8,3                  ; @ReqBuffer
	.comm	_ReqData,8,3                    ; @ReqData
	.comm	_UseTrackbuffer,8,3             ; @UseTrackbuffer
	.comm	_ReqCmd,8,3                     ; @ReqCmd
	.comm	_READ,8,3                       ; @READ
	.comm	_fd_request,8,3                 ; @fd_request
	.comm	_read_track,4,2                 ; @read_track
	.no_dead_strip	_setup_req_params
.subsections_via_symbols
