	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_inline_data_size_to_wqesize ## -- Begin function i40iw_inline_data_size_to_wqesize
	.p2align	4, 0x90
_i40iw_inline_data_size_to_wqesize:     ## @i40iw_inline_data_size_to_wqesize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_I40IW_MAX_INLINE_DATA_SIZE@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jge	LBB0_2
## %bb.1:
	movq	_I40IW_ERR_INVALID_INLINE_DATA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_2:
	movl	$64, %eax
	cmpl	$17, %edi
	jge	LBB0_4
## %bb.3:
	movq	_I40IW_QP_WQE_MIN_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movl	%eax, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_MAX_INLINE_DATA_SIZE,4,2 ## @I40IW_MAX_INLINE_DATA_SIZE
	.comm	_I40IW_ERR_INVALID_INLINE_DATA_SIZE,4,2 ## @I40IW_ERR_INVALID_INLINE_DATA_SIZE
	.comm	_I40IW_QP_WQE_MIN_SIZE,4,2      ## @I40IW_QP_WQE_MIN_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_inline_data_size_to_wqesize ; -- Begin function i40iw_inline_data_size_to_wqesize
	.p2align	2
_i40iw_inline_data_size_to_wqesize:     ; @i40iw_inline_data_size_to_wqesize
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _I40IW_MAX_INLINE_DATA_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40IW_MAX_INLINE_DATA_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w0
	b.ge	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _I40IW_ERR_INVALID_INLINE_DATA_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40IW_ERR_INVALID_INLINE_DATA_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_2:
	mov	x8, x0
	mov	w0, #0
Lloh6:
	adrp	x9, _I40IW_QP_WQE_MIN_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I40IW_QP_WQE_MIN_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mov	w10, #64
	cmp	w8, #17
	csel	w8, w9, w10, lt
	str	w8, [x1]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_MAX_INLINE_DATA_SIZE,4,2 ; @I40IW_MAX_INLINE_DATA_SIZE
	.comm	_I40IW_ERR_INVALID_INLINE_DATA_SIZE,4,2 ; @I40IW_ERR_INVALID_INLINE_DATA_SIZE
	.comm	_I40IW_QP_WQE_MIN_SIZE,4,2      ; @I40IW_QP_WQE_MIN_SIZE
.subsections_via_symbols
