	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_mdma_set_bus
_stm32_mdma_set_bus:                    ## @stm32_mdma_set_bus
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	notl	%eax
	movl	(%rsi), %r8d
	andl	%r8d, %eax
	movl	%eax, (%rsi)
	movl	(%rdi), %r9d
	testl	%r9d, %r9d
	jle	LBB0_5
## %bb.1:
	andl	$-268435456, %ecx               ## imm = 0xF0000000
	movq	8(%rdi), %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%rdi,%rax,4), %ecx
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	cmpq	%rax, %r9
	jne	LBB0_3
LBB0_5:
	popq	%rbp
	retq
LBB0_4:
	orl	%edx, %r8d
	movl	%r8d, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stm32_mdma_set_bus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_mdma_set_bus
_stm32_mdma_set_bus:                    ; @stm32_mdma_set_bus
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	bic	w9, w8, w2
	str	w9, [x1]
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	and	w10, w3, #0xf0000000
	ldr	x11, [x0, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11]
	cmp	w10, w12
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x11, x11, #4
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_4:
	ret
LBB0_5:
	orr	w8, w8, w2
	str	w8, [x1]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stm32_mdma_set_bus
.subsections_via_symbols
