	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dma_subdivide
_dma_subdivide:                         ## @dma_subdivide
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %ecx
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.3:
	cmpq	$0, 8(%rsi)
	jne	LBB0_4
## %bb.5:
	movl	%edx, %eax
	movq	_MAX_REALTIME_FACTOR@GOTPCREL(%rip), %rcx
	cmpl	%edx, (%rcx)
	jge	LBB0_6
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_1:
	testl	%ecx, %ecx
	movl	$1, %eax
	cmovnel	%ecx, %eax
	popq	%rbp
	retq
LBB0_6:
	cmpl	$16, %eax
	ja	LBB0_4
## %bb.7:
	movl	$65814, %ecx                    ## imm = 0x10116
	btl	%eax, %ecx
	jae	LBB0_4
## %bb.8:
	movl	%eax, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MAX_REALTIME_FACTOR,4,2        ## @MAX_REALTIME_FACTOR
	.no_dead_strip	_dma_subdivide
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dma_subdivide
_dma_subdivide:                         ; @dma_subdivide
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	cbz	w2, LBB0_5
; %bb.1:
	cbnz	w8, LBB0_4
; %bb.2:
	ldr	x8, [x1, #8]
	cbnz	x8, LBB0_4
; %bb.3:
	mov	x0, x2
Lloh0:
	adrp	x8, _MAX_REALTIME_FACTOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_REALTIME_FACTOR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ge	LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_5:
	cmp	w8, #0
	csinc	w0, w8, wzr, ne
	ret
LBB0_6:
	cmp	w0, #16
	b.hi	LBB0_4
; %bb.7:
	mov	w8, #1
	lsl	w8, w8, w0
	mov	w9, #278
	movk	w9, #1, lsl #16
	tst	w8, w9
	b.eq	LBB0_4
; %bb.8:
	str	w0, [x1]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MAX_REALTIME_FACTOR,4,2        ; @MAX_REALTIME_FACTOR
	.no_dead_strip	_dma_subdivide
.subsections_via_symbols
