	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usb_dmac_calc_tend
_usb_dmac_calc_tend:                    ## @usb_dmac_calc_tend
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_USB_DMAC_XFER_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cltd
	idivl	%ecx
	testl	%edx, %edx
	cmovnel	%edx, %ecx
	negb	%cl
	movl	$-1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_DMAC_XFER_SIZE,4,2         ## @USB_DMAC_XFER_SIZE
	.no_dead_strip	_usb_dmac_calc_tend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usb_dmac_calc_tend
_usb_dmac_calc_tend:                    ; @usb_dmac_calc_tend
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _USB_DMAC_XFER_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_DMAC_XFER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sdiv	w9, w0, w8
	msub	w9, w9, w8, w0
	cmp	w9, #0
	csel	w8, w8, w9, eq
	neg	w8, w8
	mov	w9, #-1
	lsl	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_DMAC_XFER_SIZE,4,2         ; @USB_DMAC_XFER_SIZE
	.no_dead_strip	_usb_dmac_calc_tend
.subsections_via_symbols
