	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vf_port_state
_vf_port_state:                         ## @vf_port_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movl	%edx, %esi
	movl	%eax, %edx
	callq	_mlx4_get_slave_port_state
	movq	_SLAVE_PORT_UP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_IB_PORT_ACTIVE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IB_PORT_DOWN@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SLAVE_PORT_UP,8,3              ## @SLAVE_PORT_UP
	.comm	_IB_PORT_ACTIVE,4,2             ## @IB_PORT_ACTIVE
	.comm	_IB_PORT_DOWN,4,2               ## @IB_PORT_DOWN
	.no_dead_strip	_vf_port_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vf_port_state
_vf_port_state:                         ; @vf_port_state
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x1
	mov	x1, x2
	mov	x2, x8
	bl	_mlx4_get_slave_port_state
Lloh0:
	adrp	x8, _SLAVE_PORT_UP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SLAVE_PORT_UP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _IB_PORT_ACTIVE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_PORT_ACTIVE@GOTPAGEOFF]
Lloh5:
	adrp	x10, _IB_PORT_DOWN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IB_PORT_DOWN@GOTPAGEOFF]
	cmp	x0, x8
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SLAVE_PORT_UP,8,3              ; @SLAVE_PORT_UP
	.comm	_IB_PORT_ACTIVE,4,2             ; @IB_PORT_ACTIVE
	.comm	_IB_PORT_DOWN,4,2               ; @IB_PORT_DOWN
	.no_dead_strip	_vf_port_state
.subsections_via_symbols
