	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_dma_fifo_threshold_is_allowed
_stm32_dma_fifo_threshold_is_allowed:   ## @stm32_dma_fifo_threshold_is_allowed
	.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_UNDEFINED@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	je	LBB0_3
## %bb.1:
	movl	$1, %r8d
	testl	%edi, %edi
	je	LBB0_4
## %bb.2:
	movl	%edx, %ecx
	movq	_STM32_DMA_FIFO_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	divl	%ecx
	incl	%esi
	imull	%esi, %eax
	shrl	$2, %eax
	xorl	%edx, %edx
	divl	%edi
	testl	%edx, %edx
	je	LBB0_4
LBB0_3:
	xorl	%r8d, %r8d
LBB0_4:
	movl	%r8d, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_SLAVE_BUSWIDTH_UNDEFINED,4,2 ## @DMA_SLAVE_BUSWIDTH_UNDEFINED
	.comm	_STM32_DMA_FIFO_SIZE,4,2        ## @STM32_DMA_FIFO_SIZE
	.no_dead_strip	_stm32_dma_fifo_threshold_is_allowed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_dma_fifo_threshold_is_allowed
_stm32_dma_fifo_threshold_is_allowed:   ; @stm32_dma_fifo_threshold_is_allowed
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DMA_SLAVE_BUSWIDTH_UNDEFINED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_SLAVE_BUSWIDTH_UNDEFINED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.eq	LBB0_3
; %bb.1:
	cbz	w0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _STM32_DMA_FIFO_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STM32_DMA_FIFO_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	udiv	w8, w8, w2
	madd	w8, w8, w1, w8
	lsr	w8, w8, #2
	udiv	w9, w8, w0
	msub	w8, w9, w0, w8
	cbz	w8, LBB0_4
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_SLAVE_BUSWIDTH_UNDEFINED,4,2 ; @DMA_SLAVE_BUSWIDTH_UNDEFINED
	.comm	_STM32_DMA_FIFO_SIZE,4,2        ; @STM32_DMA_FIFO_SIZE
	.no_dead_strip	_stm32_dma_fifo_threshold_is_allowed
.subsections_via_symbols
