	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_pconf_get
_stm32_pconf_get:                       ## @stm32_pconf_get
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r13
	movl	(%rdi), %edi
	callq	_clk_enable
	leaq	4(%r13), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	testl	%r12d, %r12d
	jne	LBB0_1
## %bb.2:
	movq	_STM32_GPIO_ODR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_STM32_GPIO_IDR@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rdi
	addq	8(%r13), %rdi
	callq	_readl_relaxed
	movl	%eax, %r12d
	movl	%r15d, %edi
	callq	_BIT
	xorl	%ebx, %ebx
	testl	%r12d, %eax
	setne	%bl
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	(%r13), %edi
	callq	_clk_disable
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STM32_GPIO_IDR,8,3             ## @STM32_GPIO_IDR
	.comm	_STM32_GPIO_ODR,8,3             ## @STM32_GPIO_ODR
	.no_dead_strip	_stm32_pconf_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_pconf_get
_stm32_pconf_get:                       ; @stm32_pconf_get
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x0]
	bl	_clk_enable
	add	x22, x21, #4
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	x8, [x21, #8]
Lloh0:
	adrp	x9, _STM32_GPIO_ODR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STM32_GPIO_ODR@GOTPAGEOFF]
Lloh2:
	adrp	x10, _STM32_GPIO_IDR@GOTPAGE
Lloh3:
	ldr	x10, [x10, _STM32_GPIO_IDR@GOTPAGEOFF]
	cmp	w19, #0
	csel	x9, x9, x10, eq
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	x19, x0
	mov	x0, x20
	bl	_BIT
	tst	w0, w19
	cset	w19, ne
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	ldr	w0, [x21]
	bl	_clk_disable
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_STM32_GPIO_IDR,8,3             ; @STM32_GPIO_IDR
	.comm	_STM32_GPIO_ODR,8,3             ; @STM32_GPIO_ODR
	.no_dead_strip	_stm32_pconf_get
.subsections_via_symbols
