	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_mbigen_clear_reg
_get_mbigen_clear_reg:                  ## @get_mbigen_clear_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %ecx
	leal	31(%rcx), %eax
	testl	%edi, %edi
	cmovnsl	%edi, %eax
	sarl	$5, %eax
	shll	$2, %eax
	movl	$1, %edi
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %edi
	movl	%edi, (%rsi)
	movq	_REG_MBIGEN_CLEAR_OFFSET@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	%eax, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_MBIGEN_CLEAR_OFFSET,4,2    ## @REG_MBIGEN_CLEAR_OFFSET
	.no_dead_strip	_get_mbigen_clear_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_mbigen_clear_reg
_get_mbigen_clear_reg:                  ; @get_mbigen_clear_reg
	.cfi_startproc
; %bb.0:
	add	w8, w0, #31
	cmp	w0, #0
	csel	w8, w8, w0, lt
	asr	w8, w8, #5
	mov	w9, #1
	lsl	w9, w9, w0
	str	w9, [x1]
Lloh0:
	adrp	x9, _REG_MBIGEN_CLEAR_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REG_MBIGEN_CLEAR_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w8, w9, w8, lsl #2
	str	w8, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_MBIGEN_CLEAR_OFFSET,4,2    ; @REG_MBIGEN_CLEAR_OFFSET
	.no_dead_strip	_get_mbigen_clear_reg
.subsections_via_symbols
