	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mdc_check_slave_width
_mdc_check_slave_width:                 ## @mdc_check_slave_width
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DMA_MEM_TO_DEV@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	%esi, (%rax)
	setne	%cl
	movl	8(%rdi,%rcx,4), %ecx
	movl	%ecx, %eax
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%rdi), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	jbe	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_MEM_TO_DEV,4,2             ## @DMA_MEM_TO_DEV
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_mdc_check_slave_width
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mdc_check_slave_width
_mdc_check_slave_width:                 ; @mdc_check_slave_width
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DMA_MEM_TO_DEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_MEM_TO_DEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	mov	w8, #12
	mov	w9, #8
	csel	x8, x9, x8, eq
	ldr	w8, [x0, x8]
	and	w9, w8, #0xfffffffc
	cmp	w9, #128
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [x0]
	ldr	w9, [x9]
	cmp	w8, w9
	b.ls	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_3:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_MEM_TO_DEV,4,2             ; @DMA_MEM_TO_DEV
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_mdc_check_slave_width
.subsections_via_symbols
