	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function subn_get_vl_arb
_subn_get_vl_arb:                       ## @subn_get_vl_arb
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	8(%rdi), %edi
	callq	_be32_to_cpu
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_to_iport
	movl	%eax, %edi
	callq	_ppd_from_ibp
	movq	%rax, %r14
	movl	4(%r12), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	(%r14), %rax
	movq	_IB_VL_VL0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_IB_SMP_UNSUP_METHOD@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	sarl	$16, %r15d
	movq	_IB_VLARB_LOWPRI_0_31@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_5
## %bb.3:
	movq	8(%r14), %rax
	movq	_QIB_IB_TBL_VL_LOW_ARB@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_5:
	movq	_IB_VLARB_HIGHPRI_0_31@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_7
## %bb.6:
	movq	8(%r14), %rax
	movq	_QIB_IB_TBL_VL_HIGH_ARB@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %esi
	movl	4(%r12), %edx
	movq	%r14, %rdi
	callq	*(%rax)
	jmp	LBB0_9
LBB0_7:
	movq	_IB_SMP_INVALID_FIELD@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	orl	%eax, (%r12)
LBB0_9:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reply                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_VL_VL0,8,3                  ## @IB_VL_VL0
	.comm	_IB_SMP_UNSUP_METHOD,4,2        ## @IB_SMP_UNSUP_METHOD
	.comm	_IB_VLARB_LOWPRI_0_31,4,2       ## @IB_VLARB_LOWPRI_0_31
	.comm	_QIB_IB_TBL_VL_LOW_ARB,4,2      ## @QIB_IB_TBL_VL_LOW_ARB
	.comm	_IB_VLARB_HIGHPRI_0_31,4,2      ## @IB_VLARB_HIGHPRI_0_31
	.comm	_QIB_IB_TBL_VL_HIGH_ARB,4,2     ## @QIB_IB_TBL_VL_HIGH_ARB
	.comm	_IB_SMP_INVALID_FIELD,4,2       ## @IB_SMP_INVALID_FIELD
	.no_dead_strip	_subn_get_vl_arb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function subn_get_vl_arb
_subn_get_vl_arb:                       ; @subn_get_vl_arb
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_be32_to_cpu
	mov	x21, x0
	mov	x0, x22
	mov	x1, x20
	bl	_to_iport
	bl	_ppd_from_ibp
	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_SMP_INVALID_FIELD@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_reply
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_VL_VL0,8,3                  ; @IB_VL_VL0
	.comm	_IB_SMP_UNSUP_METHOD,4,2        ; @IB_SMP_UNSUP_METHOD
	.comm	_IB_VLARB_LOWPRI_0_31,4,2       ; @IB_VLARB_LOWPRI_0_31
	.comm	_QIB_IB_TBL_VL_LOW_ARB,4,2      ; @QIB_IB_TBL_VL_LOW_ARB
	.comm	_IB_VLARB_HIGHPRI_0_31,4,2      ; @IB_VLARB_HIGHPRI_0_31
	.comm	_QIB_IB_TBL_VL_HIGH_ARB,4,2     ; @QIB_IB_TBL_VL_HIGH_ARB
	.comm	_IB_SMP_INVALID_FIELD,4,2       ; @IB_SMP_INVALID_FIELD
	.no_dead_strip	_subn_get_vl_arb
.subsections_via_symbols
