	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_pconf_get_bias
_stm32_pconf_get_bias:                  ## @stm32_pconf_get_bias
	.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	%esi, %r14d
	movq	%rdi, %r13
	movl	(%rdi), %edi
	callq	_clk_enable
	leaq	4(%r13), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_STM32_GPIO_PUPDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r13), %rdi
	callq	_readl_relaxed
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r14d, %r12d
	addl	%r14d, %r12d
	leal	(%r14,%r14), %edi
	incl	%edi
	movl	%r12d, %esi
	callq	_GENMASK
	movl	%eax, %ebx
	andl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movl	(%r13), %edi
	callq	_clk_disable
	movl	%r12d, %ecx
	shrl	%cl, %ebx
	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_PUPDR,8,3           ## @STM32_GPIO_PUPDR
	.no_dead_strip	_stm32_pconf_get_bias
.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_bias
_stm32_pconf_get_bias:                  ; @stm32_pconf_get_bias
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_clk_enable
	add	x21, x20, #4
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, _STM32_GPIO_PUPDR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STM32_GPIO_PUPDR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	x22, x0
	lsl	w23, w19, #1
	mov	w0, #1
	bfi	w0, w19, #1, #31
	mov	x1, x23
	bl	_GENMASK
	and	w19, w0, w22
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	ldr	w0, [x20]
	bl	_clk_disable
	lsr	w0, w19, w23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STM32_GPIO_PUPDR,8,3           ; @STM32_GPIO_PUPDR
	.no_dead_strip	_stm32_pconf_get_bias
.subsections_via_symbols
