	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pma_get_classportinfo
_pma_get_classportinfo:                 ## @pma_get_classportinfo
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	%rsi, %rdi
	callq	_dd_from_ibdev
	movq	%rax, %r15
	movq	16(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_IB_SMP_INVALID_FIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
LBB0_2:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%r14)
	movq	_IB_PMA_CLASS_CAP_EXT_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_IB_CLASS_PORT_INFO_RESP_TIME_FIELD_SIZE@GOTPCREL(%rip), %rax
	movb	$31, %cl
	subb	(%rax), %cl
	movl	(%r15), %esi
	shll	%cl, %esi
	movq	%r14, %rdi
	callq	_ib_set_cpi_capmask2
	movq	%r14, %rdi
	movl	$18, %esi
	callq	_ib_set_cpi_resp_time
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reply                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_SMP_INVALID_FIELD,4,2       ## @IB_SMP_INVALID_FIELD
	.comm	_IB_PMA_CLASS_CAP_EXT_WIDTH,4,2 ## @IB_PMA_CLASS_CAP_EXT_WIDTH
	.comm	_IB_CLASS_PORT_INFO_RESP_TIME_FIELD_SIZE,4,2 ## @IB_CLASS_PORT_INFO_RESP_TIME_FIELD_SIZE
	.no_dead_strip	_pma_get_classportinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pma_get_classportinfo
_pma_get_classportinfo:                 ; @pma_get_classportinfo
	.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	x19, x0
	ldr	x20, [x0, #16]
	mov	x0, x1
	bl	_dd_from_ibdev
	mov	x21, x0
	ldr	x0, [x19, #16]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IB_SMP_INVALID_FIELD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_SMP_INVALID_FIELD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_2:
	movi.2s	v0, #1
	str	d0, [x20]
Lloh3:
	adrp	x8, _IB_PMA_CLASS_CAP_EXT_WIDTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_PMA_CLASS_CAP_EXT_WIDTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	ldr	w8, [x21]
Lloh6:
	adrp	x9, _IB_CLASS_PORT_INFO_RESP_TIME_FIELD_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_CLASS_PORT_INFO_RESP_TIME_FIELD_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mvn	w9, w9
	lsl	w1, w8, w9
	mov	x0, x20
	bl	_ib_set_cpi_capmask2
	mov	x0, x20
	mov	w1, #18
	bl	_ib_set_cpi_resp_time
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_SMP_INVALID_FIELD,4,2       ; @IB_SMP_INVALID_FIELD
	.comm	_IB_PMA_CLASS_CAP_EXT_WIDTH,4,2 ; @IB_PMA_CLASS_CAP_EXT_WIDTH
	.comm	_IB_CLASS_PORT_INFO_RESP_TIME_FIELD_SIZE,4,2 ; @IB_CLASS_PORT_INFO_RESP_TIME_FIELD_SIZE
	.no_dead_strip	_pma_get_classportinfo
.subsections_via_symbols
