	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ib_uverbs_ex_query_device
_ib_uverbs_ex_query_device:             ## @ib_uverbs_ex_query_device
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$216, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	movups	%xmm0, -68(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -176(%rbp)
	movaps	%xmm0, -192(%rbp)
	movaps	%xmm0, -208(%rbp)
	movaps	%xmm0, -224(%rbp)
	movaps	%xmm0, -240(%rbp)
	movq	$0, -160(%rbp)
	callq	_ib_uverbs_get_ucontext
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.8:
	movq	%rbx, %rdi
	addq	$216, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	(%rbx), %r15
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_uverbs_request
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	cmpq	$0, -32(%rbp)
	jne	LBB0_3
## %bb.4:
	cmpq	$0, -40(%rbp)
	je	LBB0_5
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$216, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	-240(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	*(%r15)
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	leaq	-56(%rbp), %rsi
	leaq	-240(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_copy_query_dev_fields
	movl	-160(%rbp), %eax
	movl	%eax, -60(%rbp)
	movaps	-176(%rbp), %xmm0
	movups	%xmm0, -76(%rbp)
	movaps	-240(%rbp), %xmm0
	movaps	-224(%rbp), %xmm1
	movaps	-208(%rbp), %xmm2
	movaps	-192(%rbp), %xmm3
	movups	%xmm3, -92(%rbp)
	movups	%xmm2, -108(%rbp)
	movups	%xmm1, -124(%rbp)
	movups	%xmm0, -140(%rbp)
	movq	%r14, %rdi
	movl	$92, %esi
	callq	_uverbs_response_length
	movl	%eax, -144(%rbp)
	leaq	-144(%rbp), %rsi
	movq	%r14, %rdi
	movl	$92, %edx
	callq	_uverbs_response
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ib_uverbs_ex_query_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ib_uverbs_ex_query_device
_ib_uverbs_ex_query_device:             ; @ib_uverbs_ex_query_device
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w27, -56
	.cfi_offset w28, -64
	mov	x19, x0
	add	x22, sp, #112
	movi.2d	v0, #0000000000000000
	stur	q0, [x22, #76]
	stp	q0, q0, [sp, #160]
	stp	q0, q0, [sp, #128]
	str	q0, [sp, #112]
	str	xzr, [sp, #80]
	stp	q0, q0, [sp, #48]
	stp	q0, q0, [sp, #16]
	str	q0, [sp]
	bl	_ib_uverbs_get_ucontext
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #272
	b	_PTR_ERR
LBB0_2:
	ldr	x21, [x20]
	add	x1, sp, #96
	mov	x0, x19
	mov	w2, #16
	bl	_uverbs_request
	cbnz	w0, LBB0_6
; %bb.3:
	ldr	x8, [sp, #104]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	x8, [sp, #96]
	cbz	x8, LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_7:
	ldr	x8, [x21]
	mov	x1, sp
	mov	x0, x21
	mov	x2, x19
	blr	x8
	cbnz	w0, LBB0_6
; %bb.8:
	add	x8, sp, #112
	add	x1, x8, #88
	mov	x2, sp
	mov	x0, x20
	bl	_copy_query_dev_fields
	ldr	w8, [sp, #80]
	str	w8, [sp, #196]
	ldr	q0, [sp, #64]
	stur	q0, [x22, #68]
	ldp	q1, q0, [sp, #32]
	stur	q0, [x22, #52]
	stur	q1, [x22, #36]
	ldp	q1, q0, [sp]
	stur	q0, [x22, #20]
	stur	q1, [sp, #116]
	mov	x0, x19
	mov	w1, #92
	bl	_uverbs_response_length
	str	w0, [sp, #112]
	add	x1, sp, #112
	mov	x0, x19
	mov	w2, #92
	bl	_uverbs_response
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ib_uverbs_ex_query_device
.subsections_via_symbols
