	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_ibport
_init_ibport:                           ## @init_ibport
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$40, %rdi
	callq	_spin_lock_init
	movq	_IB_DEFAULT_GID_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_IB_LID_PERMISSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_be16_to_cpu
	movl	%eax, 32(%rbx)
	movq	_IB_PORT_SYS_IMAGE_GUID_SUP@GOTPCREL(%rip), %rcx
	movq	_IB_PORT_CLIENT_REG_SUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_IB_PORT_SL_MAP_SUP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IB_PORT_TRAP_SUP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IB_PORT_AUTO_MIGR_SUP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IB_PORT_DR_NOTICE_SUP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IB_PORT_CAP_MASK_NOTICE_SUP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IB_PORT_OTHER_LOCAL_CHANGES_SUP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 8(%rbx)
	movq	(%rbx), %rcx
	movq	_QIB_HAS_LINK_LATENCY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_IB_PORT_LINK_LATENCY_SUP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 8(%rbx)
LBB0_2:
	movq	_IB_PMA_PORT_XMIT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	24(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	_IB_PMA_PORT_RCV_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	movq	_IB_PMA_PORT_XMIT_PKTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rcx)
	movq	_IB_PMA_PORT_RCV_PKTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rcx)
	movq	_IB_PMA_PORT_XMIT_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rcx)
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_qib_get_counters
	movl	-16(%rbp), %eax
	movl	%eax, 96(%rbx)
	movaps	-32(%rbp), %xmm0
	movups	%xmm0, 80(%rbx)
	movaps	-48(%rbp), %xmm0
	movups	%xmm0, 64(%rbx)
	movaps	-64(%rbp), %xmm0
	movups	%xmm0, 48(%rbx)
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RCU_INIT_POINTER
	movq	16(%rbx), %rax
	movl	4(%rax), %edi
	xorl	%esi, %esi
	callq	_RCU_INIT_POINTER
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_DEFAULT_GID_PREFIX,4,2      ## @IB_DEFAULT_GID_PREFIX
	.comm	_IB_LID_PERMISSIVE,4,2          ## @IB_LID_PERMISSIVE
	.comm	_IB_PORT_SYS_IMAGE_GUID_SUP,4,2 ## @IB_PORT_SYS_IMAGE_GUID_SUP
	.comm	_IB_PORT_CLIENT_REG_SUP,4,2     ## @IB_PORT_CLIENT_REG_SUP
	.comm	_IB_PORT_SL_MAP_SUP,4,2         ## @IB_PORT_SL_MAP_SUP
	.comm	_IB_PORT_TRAP_SUP,4,2           ## @IB_PORT_TRAP_SUP
	.comm	_IB_PORT_AUTO_MIGR_SUP,4,2      ## @IB_PORT_AUTO_MIGR_SUP
	.comm	_IB_PORT_DR_NOTICE_SUP,4,2      ## @IB_PORT_DR_NOTICE_SUP
	.comm	_IB_PORT_CAP_MASK_NOTICE_SUP,4,2 ## @IB_PORT_CAP_MASK_NOTICE_SUP
	.comm	_IB_PORT_OTHER_LOCAL_CHANGES_SUP,4,2 ## @IB_PORT_OTHER_LOCAL_CHANGES_SUP
	.comm	_QIB_HAS_LINK_LATENCY,4,2       ## @QIB_HAS_LINK_LATENCY
	.comm	_IB_PORT_LINK_LATENCY_SUP,4,2   ## @IB_PORT_LINK_LATENCY_SUP
	.comm	_IB_PMA_PORT_XMIT_DATA,4,2      ## @IB_PMA_PORT_XMIT_DATA
	.comm	_IB_PMA_PORT_RCV_DATA,4,2       ## @IB_PMA_PORT_RCV_DATA
	.comm	_IB_PMA_PORT_XMIT_PKTS,4,2      ## @IB_PMA_PORT_XMIT_PKTS
	.comm	_IB_PMA_PORT_RCV_PKTS,4,2       ## @IB_PMA_PORT_RCV_PKTS
	.comm	_IB_PMA_PORT_XMIT_WAIT,4,2      ## @IB_PMA_PORT_XMIT_WAIT
	.no_dead_strip	_init_ibport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_ibport
_init_ibport:                           ; @init_ibport
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, x0, #40
	bl	_spin_lock_init
Lloh0:
	adrp	x8, _IB_DEFAULT_GID_PREFIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_DEFAULT_GID_PREFIX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #36]
Lloh3:
	adrp	x8, _IB_LID_PERMISSIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_LID_PERMISSIVE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_be16_to_cpu
	str	w0, [x19, #32]
Lloh6:
	adrp	x8, _IB_PORT_SYS_IMAGE_GUID_SUP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_PORT_SYS_IMAGE_GUID_SUP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _IB_PORT_CLIENT_REG_SUP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IB_PORT_CLIENT_REG_SUP@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _IB_PORT_SL_MAP_SUP@GOTPAGE
Lloh13:
	ldr	x10, [x10, _IB_PORT_SL_MAP_SUP@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh14:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _IB_PORT_TRAP_SUP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IB_PORT_TRAP_SUP@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _IB_PORT_AUTO_MIGR_SUP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IB_PORT_AUTO_MIGR_SUP@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _IB_PORT_DR_NOTICE_SUP@GOTPAGE
Lloh22:
	ldr	x10, [x10, _IB_PORT_DR_NOTICE_SUP@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh23:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _IB_PORT_CAP_MASK_NOTICE_SUP@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IB_PORT_CAP_MASK_NOTICE_SUP@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _IB_PORT_OTHER_LOCAL_CHANGES_SUP@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IB_PORT_OTHER_LOCAL_CHANGES_SUP@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #8]
	ldr	x9, [x19]
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _QIB_HAS_LINK_LATENCY@GOTPAGE
Lloh31:
	ldr	x10, [x10, _QIB_HAS_LINK_LATENCY@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
Lloh33:
	adrp	x9, _IB_PORT_LINK_LATENCY_SUP@GOTPAGE
Lloh34:
	ldr	x9, [x9, _IB_PORT_LINK_LATENCY_SUP@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_2:
Lloh36:
	adrp	x8, _IB_PMA_PORT_XMIT_DATA@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IB_PMA_PORT_XMIT_DATA@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	ldr	x9, [x19, #24]
	str	w8, [x9]
Lloh39:
	adrp	x8, _IB_PMA_PORT_RCV_DATA@GOTPAGE
Lloh40:
	ldr	x8, [x8, _IB_PMA_PORT_RCV_DATA@GOTPAGEOFF]
Lloh41:
	adrp	x10, _IB_PMA_PORT_XMIT_PKTS@GOTPAGE
Lloh42:
	ldr	x10, [x10, _IB_PMA_PORT_XMIT_PKTS@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
Lloh44:
	ldr	w10, [x10]
	stp	w8, w10, [x9, #4]
Lloh45:
	adrp	x8, _IB_PMA_PORT_RCV_PKTS@GOTPAGE
Lloh46:
	ldr	x8, [x8, _IB_PMA_PORT_RCV_PKTS@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
Lloh48:
	adrp	x10, _IB_PMA_PORT_XMIT_WAIT@GOTPAGE
Lloh49:
	ldr	x10, [x10, _IB_PMA_PORT_XMIT_WAIT@GOTPAGEOFF]
Lloh50:
	ldr	w10, [x10]
	stp	w8, w10, [x9, #12]
	mov	x1, sp
	mov	x0, x19
	bl	_qib_get_counters
	ldr	w8, [sp, #48]
	str	w8, [x19, #96]
	ldr	q2, [sp, #32]
	ldp	q1, q0, [sp]
	stp	q0, q2, [x19, #64]
	str	q1, [x19, #48]
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	mov	x1, #0
	bl	_RCU_INIT_POINTER
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #4]
	mov	x1, #0
	bl	_RCU_INIT_POINTER
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh43
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_DEFAULT_GID_PREFIX,4,2      ; @IB_DEFAULT_GID_PREFIX
	.comm	_IB_LID_PERMISSIVE,4,2          ; @IB_LID_PERMISSIVE
	.comm	_IB_PORT_SYS_IMAGE_GUID_SUP,4,2 ; @IB_PORT_SYS_IMAGE_GUID_SUP
	.comm	_IB_PORT_CLIENT_REG_SUP,4,2     ; @IB_PORT_CLIENT_REG_SUP
	.comm	_IB_PORT_SL_MAP_SUP,4,2         ; @IB_PORT_SL_MAP_SUP
	.comm	_IB_PORT_TRAP_SUP,4,2           ; @IB_PORT_TRAP_SUP
	.comm	_IB_PORT_AUTO_MIGR_SUP,4,2      ; @IB_PORT_AUTO_MIGR_SUP
	.comm	_IB_PORT_DR_NOTICE_SUP,4,2      ; @IB_PORT_DR_NOTICE_SUP
	.comm	_IB_PORT_CAP_MASK_NOTICE_SUP,4,2 ; @IB_PORT_CAP_MASK_NOTICE_SUP
	.comm	_IB_PORT_OTHER_LOCAL_CHANGES_SUP,4,2 ; @IB_PORT_OTHER_LOCAL_CHANGES_SUP
	.comm	_QIB_HAS_LINK_LATENCY,4,2       ; @QIB_HAS_LINK_LATENCY
	.comm	_IB_PORT_LINK_LATENCY_SUP,4,2   ; @IB_PORT_LINK_LATENCY_SUP
	.comm	_IB_PMA_PORT_XMIT_DATA,4,2      ; @IB_PMA_PORT_XMIT_DATA
	.comm	_IB_PMA_PORT_RCV_DATA,4,2       ; @IB_PMA_PORT_RCV_DATA
	.comm	_IB_PMA_PORT_XMIT_PKTS,4,2      ; @IB_PMA_PORT_XMIT_PKTS
	.comm	_IB_PMA_PORT_RCV_PKTS,4,2       ; @IB_PMA_PORT_RCV_PKTS
	.comm	_IB_PMA_PORT_XMIT_WAIT,4,2      ; @IB_PMA_PORT_XMIT_WAIT
	.no_dead_strip	_init_ibport
.subsections_via_symbols
