	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function transfer_size
_transfer_size:                         ## @transfer_size
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movl	%edi, %r14d
	movq	_fsector_t@GOTPCREL(%rip), %r15
	movslq	%edx, %rsi
	addq	(%r15), %rsi
	movl	%ebx, %edi
	callq	_SUPBOUND
	movq	__floppy@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%ebx, %eax
	cltd
	idivl	(%rcx)
	movl	%edx, %eax
	cltd
	idivl	%r14d
	subl	%edx, %ebx
	movslq	%ebx, %rax
	movq	%rax, %rcx
	subq	(%r15), %rcx
	movq	_current_count_sectors@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fsector_t,8,3                  ## @fsector_t
	.comm	__floppy,8,3                    ## @_floppy
	.comm	_current_count_sectors,8,3      ## @current_count_sectors
	.no_dead_strip	_transfer_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function transfer_size
_transfer_size:                         ; @transfer_size
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _fsector_t@GOTPAGE
Lloh1:
	ldr	x21, [x21, _fsector_t@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x1, x8, w2, sxtw
	mov	x0, x19
	bl	_SUPBOUND
Lloh2:
	adrp	x8, __floppy@GOTPAGE
Lloh3:
	ldr	x8, [x8, __floppy@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w8, [x8]
	sdiv	w9, w19, w8
	msub	w8, w9, w8, w19
	sdiv	w9, w8, w20
	neg	w8, w8
	madd	w8, w9, w20, w8
	add	w0, w19, w8
	sxtw	x8, w0
	ldr	x9, [x21]
	sub	x8, x8, x9
Lloh5:
	adrp	x9, _current_count_sectors@GOTPAGE
Lloh6:
	ldr	x9, [x9, _current_count_sectors@GOTPAGEOFF]
Lloh7:
	str	x8, [x9]
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_fsector_t,8,3                  ; @fsector_t
	.comm	__floppy,8,3                    ; @_floppy
	.comm	_current_count_sectors,8,3      ; @current_count_sectors
	.no_dead_strip	_transfer_size
.subsections_via_symbols
