	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atomic_size_to_mode
_atomic_size_to_mode:                   ## @atomic_size_to_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	andl	$511, %edi                      ## imm = 0x1FF
	je	LBB0_1
## %bb.2:
	callq	___fls
	cmpl	$4, %eax
	jge	LBB0_4
## %bb.3:
	movq	_MLX5_ATOMIC_MODE_8B@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	popq	%rbp
	retq
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_MLX5_ATOMIC_MODE_8B,4,2        ## @MLX5_ATOMIC_MODE_8B
	.no_dead_strip	_atomic_size_to_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atomic_size_to_mode
_atomic_size_to_mode:                   ; @atomic_size_to_mode
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ands	w0, w0, #0x1ff
	b.eq	LBB0_2
; %bb.1:
	bl	___fls
Lloh0:
	adrp	x8, _MLX5_ATOMIC_MODE_8B@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_ATOMIC_MODE_8B@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, #3
	csel	w0, w0, w8, gt
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MLX5_ATOMIC_MODE_8B,4,2        ; @MLX5_ATOMIC_MODE_8B
	.no_dead_strip	_atomic_size_to_mode
.subsections_via_symbols
