	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nhmex_mbox_put_shared_reg
_nhmex_mbox_put_shared_reg:             ## @nhmex_mbox_put_shared_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	%esi, %ecx
	movq	_EXTRA_REG_NHMEX_M_ZDP_CTL_FVC@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	cmpl	%ecx, %esi
	jle	LBB0_2
## %bb.1:
	movslq	%ecx, %rax
	shlq	$2, %rax
	addq	(%rdi), %rax
	movq	%rax, %rdi
	popq	%rbp
	jmp	_atomic_dec                     ## TAILCALL
LBB0_2:
	subl	%esi, %ecx
	shll	$3, %ecx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	shlq	$2, %rsi
	addq	(%rdi), %rsi
	movl	%eax, %edi
	popq	%rbp
	jmp	_atomic_sub                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EXTRA_REG_NHMEX_M_ZDP_CTL_FVC,4,2 ## @EXTRA_REG_NHMEX_M_ZDP_CTL_FVC
	.no_dead_strip	_nhmex_mbox_put_shared_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nhmex_mbox_put_shared_reg
_nhmex_mbox_put_shared_reg:             ; @nhmex_mbox_put_shared_reg
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _EXTRA_REG_NHMEX_M_ZDP_CTL_FVC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXTRA_REG_NHMEX_M_ZDP_CTL_FVC@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	cmp	w8, w1
	b.le	LBB0_2
; %bb.1:
	ldr	x8, [x0]
	add	x0, x8, w1, sxtw #2
	b	_atomic_dec
LBB0_2:
	sub	w9, w1, w8
	ldr	x10, [x0]
	lsl	w9, w9, #3
	mov	w11, #1
	lsl	w0, w11, w9
	add	x1, x10, x8, lsl #2
	b	_atomic_sub
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EXTRA_REG_NHMEX_M_ZDP_CTL_FVC,4,2 ; @EXTRA_REG_NHMEX_M_ZDP_CTL_FVC
	.no_dead_strip	_nhmex_mbox_put_shared_reg
.subsections_via_symbols
