	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function op_amd_stop_ibs
_op_amd_stop_ibs:                       ## @op_amd_stop_ibs
	.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
	movq	_ibs_caps@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_ibs_config@GOTPCREL(%rip), %rbx
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_MSR_AMD64_IBSFETCHCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_wrmsrl
LBB0_3:
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.5:
	movq	_MSR_AMD64_IBSOPCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wrmsrl                         ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ibs_caps,4,2                   ## @ibs_caps
	.comm	_ibs_config,16,3                ## @ibs_config
	.comm	_MSR_AMD64_IBSFETCHCTL,4,2      ## @MSR_AMD64_IBSFETCHCTL
	.comm	_MSR_AMD64_IBSOPCTL,4,2         ## @MSR_AMD64_IBSOPCTL
	.no_dead_strip	_op_amd_stop_ibs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function op_amd_stop_ibs
_op_amd_stop_ibs:                       ; @op_amd_stop_ibs
	.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
Lloh0:
	adrp	x8, _ibs_caps@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ibs_caps@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.1:
Lloh3:
	adrp	x19, _ibs_config@GOTPAGE
Lloh4:
	ldr	x19, [x19, _ibs_config@GOTPAGEOFF]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _MSR_AMD64_IBSFETCHCTL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSR_AMD64_IBSFETCHCTL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_wrmsrl
LBB0_3:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _MSR_AMD64_IBSOPCTL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSR_AMD64_IBSOPCTL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wrmsrl
LBB0_5:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ibs_caps,4,2                   ; @ibs_caps
	.comm	_ibs_config,16,3                ; @ibs_config
	.comm	_MSR_AMD64_IBSFETCHCTL,4,2      ; @MSR_AMD64_IBSFETCHCTL
	.comm	_MSR_AMD64_IBSOPCTL,4,2         ; @MSR_AMD64_IBSOPCTL
	.no_dead_strip	_op_amd_stop_ibs
.subsections_via_symbols
