	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_query_port
_i40iw_query_port:                      ## @i40iw_query_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$1, (%rdx)
	movq	_IB_PORT_CM_SUP@GOTPCREL(%rip), %rax
	movq	_IB_PORT_REINIT_SUP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IB_PORT_VENDOR_CLASS_SUP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_IB_PORT_BOOT_MGMT_SUP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%rdx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 8(%rdx)
	movq	_IB_WIDTH_4X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdx)
	movl	$1, 16(%rdx)
	movq	_I40IW_MAX_OUTBOUND_MESSAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_PORT_CM_SUP,4,2             ## @IB_PORT_CM_SUP
	.comm	_IB_PORT_REINIT_SUP,4,2         ## @IB_PORT_REINIT_SUP
	.comm	_IB_PORT_VENDOR_CLASS_SUP,4,2   ## @IB_PORT_VENDOR_CLASS_SUP
	.comm	_IB_PORT_BOOT_MGMT_SUP,4,2      ## @IB_PORT_BOOT_MGMT_SUP
	.comm	_IB_WIDTH_4X,4,2                ## @IB_WIDTH_4X
	.comm	_I40IW_MAX_OUTBOUND_MESSAGE_SIZE,4,2 ## @I40IW_MAX_OUTBOUND_MESSAGE_SIZE
	.no_dead_strip	_i40iw_query_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_query_port
_i40iw_query_port:                      ; @i40iw_query_port
	.cfi_startproc
; %bb.0:
	mov	w8, #1
	str	w8, [x2]
Lloh0:
	adrp	x9, _IB_PORT_CM_SUP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_PORT_CM_SUP@GOTPAGEOFF]
Lloh2:
	adrp	x10, _IB_PORT_REINIT_SUP@GOTPAGE
Lloh3:
	ldr	x10, [x10, _IB_PORT_REINIT_SUP@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh6:
	adrp	x10, _IB_PORT_VENDOR_CLASS_SUP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IB_PORT_VENDOR_CLASS_SUP@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh9:
	adrp	x10, _IB_PORT_BOOT_MGMT_SUP@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IB_PORT_BOOT_MGMT_SUP@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x2, #4]
	movi.2s	v0, #1
	str	d0, [x2, #8]
Lloh12:
	adrp	x9, _IB_WIDTH_4X@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IB_WIDTH_4X@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	str	w9, [x2, #24]
Lloh15:
	adrp	x9, _I40IW_MAX_OUTBOUND_MESSAGE_SIZE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _I40IW_MAX_OUTBOUND_MESSAGE_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w8, w9, [x2, #16]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_PORT_CM_SUP,4,2             ; @IB_PORT_CM_SUP
	.comm	_IB_PORT_REINIT_SUP,4,2         ; @IB_PORT_REINIT_SUP
	.comm	_IB_PORT_VENDOR_CLASS_SUP,4,2   ; @IB_PORT_VENDOR_CLASS_SUP
	.comm	_IB_PORT_BOOT_MGMT_SUP,4,2      ; @IB_PORT_BOOT_MGMT_SUP
	.comm	_IB_WIDTH_4X,4,2                ; @IB_WIDTH_4X
	.comm	_I40IW_MAX_OUTBOUND_MESSAGE_SIZE,4,2 ; @I40IW_MAX_OUTBOUND_MESSAGE_SIZE
	.no_dead_strip	_i40iw_query_port
.subsections_via_symbols
