	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mem_barrier
_mem_barrier:                           ## @mem_barrier
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	movl	$3, %edx
	callq	_strncmp
	movq	8(%rbx), %rcx
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movq	8(%rcx), %rax
	movq	_ARM_MEM_OPT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_6
## %bb.5:
	movl	(%rcx), %eax
	jmp	LBB0_9
LBB0_1:
	cmpl	$15, (%rcx)
	je	LBB0_10
## %bb.2:
	movq	8(%rcx), %rax
	movq	_ARM_NOTYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.3:
	movq	_UT32_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_10
LBB0_6:
	cmpl	$1, (%rbx)
	jne	LBB0_10
## %bb.7:
	movq	_ARM_CONSTANT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_10
## %bb.8:
	movl	16(%rcx), %eax
LBB0_9:
	shll	$16, %eax
	orl	%eax, %r14d
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UT32_MAX,4,2                   ## @UT32_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"isb"

	.comm	_ARM_NOTYPE,8,3                 ## @ARM_NOTYPE
	.comm	_ARM_MEM_OPT,8,3                ## @ARM_MEM_OPT
	.comm	_ARM_CONSTANT,8,3               ## @ARM_CONSTANT
	.no_dead_strip	_mem_barrier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mem_barrier
_mem_barrier:                           ; @mem_barrier
	.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
	mov	x19, x2
	mov	x20, x0
	ldr	w0, [x0, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #3
	bl	_strncmp
	ldr	x8, [x20, #8]
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x9, [x8, #8]
Lloh2:
	adrp	x10, _ARM_MEM_OPT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ARM_MEM_OPT@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x8]
	b	LBB0_7
LBB0_3:
	ldr	w9, [x8]
	cmp	w9, #15
	b.eq	LBB0_8
; %bb.4:
	ldr	x8, [x8, #8]
Lloh5:
	adrp	x9, _ARM_NOTYPE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ARM_NOTYPE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _UT32_MAX@GOTPAGE
Lloh9:
	ldr	x10, [x10, _UT32_MAX@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w19, w19, w10, eq
	b	LBB0_8
LBB0_5:
	ldr	w10, [x20]
Lloh11:
	adrp	x11, _ARM_CONSTANT@GOTPAGE
Lloh12:
	ldr	x11, [x11, _ARM_CONSTANT@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	cmp	w10, #1
	ccmp	x9, x11, #0, eq
	b.ne	LBB0_8
; %bb.6:
	ldr	w8, [x8, #16]
LBB0_7:
	orr	w19, w19, w8, lsl #16
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_UT32_MAX,4,2                   ; @UT32_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"isb"

	.comm	_ARM_NOTYPE,8,3                 ; @ARM_NOTYPE
	.comm	_ARM_MEM_OPT,8,3                ; @ARM_MEM_OPT
	.comm	_ARM_CONSTANT,8,3               ; @ARM_CONSTANT
	.no_dead_strip	_mem_barrier
.subsections_via_symbols
