	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_ALLOC_RES_wrapper         ## -- Begin function mlx4_ALLOC_RES_wrapper
	.p2align	4, 0x90
_mlx4_ALLOC_RES_wrapper:                ## @mlx4_ALLOC_RES_wrapper
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %r9
	movl	4(%rdx), %ebx
	leal	-128(%rbx), %edx
	cmpb	$8, %dl
	ja	LBB0_11
## %bb.1:
	movl	(%r9), %ecx
	movzbl	%dl, %edx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdx,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_10:
	movl	12(%r9), %r8d
	addq	$8, %r9
	movl	%ecx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_xrcdn_alloc_res                ## TAILCALL
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
LBB0_8:
	movl	12(%r9), %r8d
	addq	$8, %r9
	movzbl	%bh, %eax
	movl	%eax, (%rsp)
	movl	%ecx, %edx
	callq	_vlan_alloc_res
	jmp	LBB0_12
LBB0_6:
	movl	12(%r9), %r8d
	addq	$8, %r9
	movl	%ecx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_srq_alloc_res                  ## TAILCALL
LBB0_2:
	movl	12(%r9), %r8d
	addq	$8, %r9
	movl	%ecx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_qp_alloc_res                   ## TAILCALL
LBB0_3:
	movl	12(%r9), %r8d
	addq	$8, %r9
	movl	%ecx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mtt_alloc_res                  ## TAILCALL
LBB0_4:
	movl	12(%r9), %r8d
	addq	$8, %r9
	movl	%ecx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mpt_alloc_res                  ## TAILCALL
LBB0_7:
	movl	12(%r9), %r8d
	addq	$8, %r9
	movzbl	%bh, %eax
	movl	%eax, (%rsp)
	movl	%ecx, %edx
	callq	_mac_alloc_res
	jmp	LBB0_12
LBB0_5:
	movl	12(%r9), %r8d
	addq	$8, %r9
	movl	%ecx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cq_alloc_res                   ## TAILCALL
LBB0_9:
	movl	12(%r9), %r8d
	addq	$8, %r9
	movl	$0, (%rsp)
	movl	%ecx, %edx
	callq	_counter_alloc_res
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_ALLOC_RES_wrapper         ; -- Begin function mlx4_ALLOC_RES_wrapper
	.p2align	2
_mlx4_ALLOC_RES_wrapper:                ; @mlx4_ALLOC_RES_wrapper
	.cfi_startproc
; %bb.0:
	ldr	w9, [x2, #4]
	and	w10, w9, #0xff
	sub	w10, w10, #128
	cmp	w10, #8
	b.hi	LBB0_3
; %bb.1:
	mov	x8, x2
	ldr	w2, [x2]
Lloh0:
	adrp	x11, lJTI0_0@PAGE
Lloh1:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
	ldr	w4, [x8, #12]
	add	x5, x8, #8
	mov	x3, x2
	b	_xrcdn_alloc_res
LBB0_3:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_4:
	ldr	w4, [x8, #12]
	add	x5, x8, #8
	ubfx	w6, w9, #8, #8
	mov	x3, x2
	b	_vlan_alloc_res
LBB0_5:
	ldr	w4, [x8, #12]
	add	x5, x8, #8
	mov	x3, x2
	b	_srq_alloc_res
LBB0_6:
	ldr	w4, [x8, #12]
	add	x5, x8, #8
	mov	x3, x2
	b	_qp_alloc_res
LBB0_7:
	ldr	w4, [x8, #12]
	add	x5, x8, #8
	mov	x3, x2
	b	_mtt_alloc_res
LBB0_8:
	ldr	w4, [x8, #12]
	add	x5, x8, #8
	mov	x3, x2
	b	_mpt_alloc_res
LBB0_9:
	ldr	w4, [x8, #12]
	add	x5, x8, #8
	ubfx	w6, w9, #8, #8
	mov	x3, x2
	b	_mac_alloc_res
LBB0_10:
	ldr	w4, [x8, #12]
	add	x5, x8, #8
	mov	x3, x2
	b	_cq_alloc_res
LBB0_11:
	ldr	w4, [x8, #12]
	add	x5, x8, #8
	mov	x3, x2
	mov	w6, #0
	b	_counter_alloc_res
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
