	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91sam9g20ek_set_bias_level
_at91sam9g20ek_set_bias_level:          ## @at91sam9g20ek_set_bias_level
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	xorl	%eax, %eax
	leal	-129(%rsi), %ecx
	cmpl	$2, %ecx
	jb	LBB0_6
## %bb.1:
	cmpl	$128, %esi
	je	LBB0_3
## %bb.2:
	cmpl	$131, %esi
	jne	LBB0_9
LBB0_3:
	cmpb	$1, _at91sam9g20ek_set_bias_level.mclk_on(%rip)
	jne	LBB0_5
## %bb.4:
	movq	_mclk@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_clk_disable
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_6:
	movb	$1, %bl
	cmpb	$0, _at91sam9g20ek_set_bias_level.mclk_on(%rip)
	jne	LBB0_8
## %bb.7:
	movq	_mclk@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_clk_enable
	testl	%eax, %eax
	jne	LBB0_9
LBB0_8:
	movb	%bl, _at91sam9g20ek_set_bias_level.mclk_on(%rip)
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_at91sam9g20ek_set_bias_level.mclk_on,1,2 ## @at91sam9g20ek_set_bias_level.mclk_on
	.comm	_mclk,4,2                       ## @mclk
	.no_dead_strip	_at91sam9g20ek_set_bias_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91sam9g20ek_set_bias_level
_at91sam9g20ek_set_bias_level:          ; @at91sam9g20ek_set_bias_level
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	w8, w1, #129
	adrp	x19, _at91sam9g20ek_set_bias_level.mclk_on@PAGE
	cmp	w8, #2
	b.lo	LBB0_6
; %bb.1:
	cmp	w1, #128
	b.eq	LBB0_3
; %bb.2:
	cmp	w1, #131
	b.ne	LBB0_10
LBB0_3:
	ldrb	w8, [x19, _at91sam9g20ek_set_bias_level.mclk_on@PAGEOFF]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _mclk@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mclk@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_clk_disable
LBB0_5:
	mov	w8, #0
	b	LBB0_9
LBB0_6:
	ldrb	w8, [x19, _at91sam9g20ek_set_bias_level.mclk_on@PAGEOFF]
	tbnz	w8, #0, LBB0_8
; %bb.7:
Lloh3:
	adrp	x8, _mclk@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mclk@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_clk_enable
	cbnz	w0, LBB0_11
LBB0_8:
	mov	w8, #1
LBB0_9:
	mov	w0, #0
	strb	w8, [x19, _at91sam9g20ek_set_bias_level.mclk_on@PAGEOFF]
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_at91sam9g20ek_set_bias_level.mclk_on,1,2 ; @at91sam9g20ek_set_bias_level.mclk_on
	.comm	_mclk,4,2                       ; @mclk
	.no_dead_strip	_at91sam9g20ek_set_bias_level
.subsections_via_symbols
