	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_mdma_get_max_width
_stm32_mdma_get_max_width:              ## @stm32_mdma_get_max_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_SLAVE_BUSWIDTH_8_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_DMA_SLAVE_BUSWIDTH_1_BYTE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jbe	LBB0_5
## %bb.1:
	orl	%edi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	shrl	%eax
	cmpl	%ecx, %eax
	jbe	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rax), %edi
	testl	%esi, %edi
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edx, %eax
	ja	LBB0_4
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_SLAVE_BUSWIDTH_8_BYTES,4,2 ## @DMA_SLAVE_BUSWIDTH_8_BYTES
	.comm	_DMA_SLAVE_BUSWIDTH_1_BYTE,4,2  ## @DMA_SLAVE_BUSWIDTH_1_BYTE
	.no_dead_strip	_stm32_mdma_get_max_width
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_mdma_get_max_width
_stm32_mdma_get_max_width:              ; @stm32_mdma_get_max_width
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _DMA_SLAVE_BUSWIDTH_8_BYTES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DMA_SLAVE_BUSWIDTH_8_BYTES@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
Lloh3:
	adrp	x9, _DMA_SLAVE_BUSWIDTH_1_BYTE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DMA_SLAVE_BUSWIDTH_1_BYTE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w0, w9
	b.ls	LBB0_4
; %bb.1:
	orr	w8, w1, w8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w10, w0, #1
	and	w10, w10, w8
	cmp	w10, #0
	ccmp	w0, w2, #2, eq
	b.ls	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	lsr	w0, w0, #1
	cmp	w0, w9
	b.hi	LBB0_2
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_SLAVE_BUSWIDTH_8_BYTES,4,2 ; @DMA_SLAVE_BUSWIDTH_8_BYTES
	.comm	_DMA_SLAVE_BUSWIDTH_1_BYTE,4,2  ; @DMA_SLAVE_BUSWIDTH_1_BYTE
	.no_dead_strip	_stm32_mdma_get_max_width
.subsections_via_symbols
