	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32mcu_set_mode
_stm32mcu_set_mode:                     ## @stm32mcu_set_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r15
	movl	12(%r15), %r14d
	movl	(%rdi), %esi
	cmpl	$129, %esi
	je	LBB0_1
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movq	_SYSCFG_MCU_ETH_SEL_RMII@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movq	_SYSCFG_MCU_ETH_SEL_MII@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_pr_debug
	movl	8(%r15), %edi
	movq	(%r15), %rax
	movl	(%rax), %edx
	shll	$23, %ebx
	movl	%r14d, %esi
	movl	%ebx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYSCFG_MCU_ETH_SEL_MII,4,2     ## @SYSCFG_MCU_ETH_SEL_MII
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SYSCFG init : PHY_INTERFACE_MODE_MII\n"

	.comm	_SYSCFG_MCU_ETH_SEL_RMII,4,2    ## @SYSCFG_MCU_ETH_SEL_RMII
L_.str.1:                               ## @.str.1
	.asciz	"SYSCFG init : PHY_INTERFACE_MODE_RMII\n"

L_.str.2:                               ## @.str.2
	.asciz	"SYSCFG init :  Do not manage %d interface\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_stm32mcu_set_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32mcu_set_mode
_stm32mcu_set_mode:                     ; @stm32mcu_set_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x20, [x0, #8]
	ldr	w19, [x20, #12]
	ldr	w8, [x0]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh2:
	adrp	x8, _SYSCFG_MCU_ETH_SEL_RMII@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SYSCFG_MCU_ETH_SEL_RMII@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
Lloh6:
	adrp	x8, _SYSCFG_MCU_ETH_SEL_MII@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SYSCFG_MCU_ETH_SEL_MII@GOTPAGEOFF]
LBB0_4:
	ldr	w21, [x8]
	bl	_pr_debug
	ldr	w0, [x20, #8]
	ldr	x8, [x20]
	ldr	w2, [x8]
	lsl	w3, w21, #23
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_regmap_update_bits
LBB0_5:
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SYSCFG_MCU_ETH_SEL_MII,4,2     ; @SYSCFG_MCU_ETH_SEL_MII
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SYSCFG init : PHY_INTERFACE_MODE_MII\n"

	.comm	_SYSCFG_MCU_ETH_SEL_RMII,4,2    ; @SYSCFG_MCU_ETH_SEL_RMII
l_.str.1:                               ; @.str.1
	.asciz	"SYSCFG init : PHY_INTERFACE_MODE_RMII\n"

l_.str.2:                               ; @.str.2
	.asciz	"SYSCFG init :  Do not manage %d interface\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_stm32mcu_set_mode
.subsections_via_symbols
