	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uapi_get_method
_uapi_get_method:                       ## @uapi_get_method
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IB_USER_VERBS_CMD_COMMAND_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IB_USER_VERBS_CMD_FLAG_EXTENDED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	orl	%eax, %edx
	notl	%edx
	testl	%esi, %edx
	je	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	andl	%esi, %eax
	testl	%esi, %ecx
	je	LBB0_7
## %bb.4:
	cmpl	(%rdi), %eax
	jge	LBB0_5
## %bb.6:
	movq	16(%rdi), %rcx
	jmp	LBB0_9
LBB0_7:
	cmpl	4(%rdi), %eax
	jge	LBB0_5
## %bb.8:
	movq	8(%rdi), %rcx
LBB0_9:
	cltq
	movq	(%rcx,%rax,8), %rax
	popq	%rbp
	retq
LBB0_5:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_USER_VERBS_CMD_COMMAND_MASK,4,2 ## @IB_USER_VERBS_CMD_COMMAND_MASK
	.comm	_IB_USER_VERBS_CMD_FLAG_EXTENDED,4,2 ## @IB_USER_VERBS_CMD_FLAG_EXTENDED
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_uapi_get_method
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uapi_get_method
_uapi_get_method:                       ; @uapi_get_method
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IB_USER_VERBS_CMD_COMMAND_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_USER_VERBS_CMD_COMMAND_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IB_USER_VERBS_CMD_FLAG_EXTENDED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_USER_VERBS_CMD_FLAG_EXTENDED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w10, w9, w8
	bics	wzr, w1, w10
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_2:
	and	w8, w8, w1
	tst	w9, w1
	b.eq	LBB0_5
; %bb.3:
	ldr	w9, [x0]
	cmp	w8, w9
	b.ge	LBB0_7
; %bb.4:
	ldr	x9, [x0, #16]
	ldr	x0, [x9, w8, sxtw #3]
	ret
LBB0_5:
	ldr	w9, [x0, #4]
	cmp	w8, w9
	b.ge	LBB0_7
; %bb.6:
	ldr	x9, [x0, #8]
	ldr	x0, [x9, w8, sxtw #3]
	ret
LBB0_7:
Lloh8:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	b	_ERR_PTR
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_USER_VERBS_CMD_COMMAND_MASK,4,2 ; @IB_USER_VERBS_CMD_COMMAND_MASK
	.comm	_IB_USER_VERBS_CMD_FLAG_EXTENDED,4,2 ; @IB_USER_VERBS_CMD_FLAG_EXTENDED
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_uapi_get_method
.subsections_via_symbols
